Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular animation scale width and height

export const zoomHover = trigger('zoomHover', [
  state('begin', style({transform: 'scale(1)'})),
  state('end', style({transform: 'scale(1.05)'})),
  transition('begin => end', [
    animate(200)
  ]),
  transition('end => begin', [
    animate(200)
  ]),
]);
 
PREVIOUS NEXT
Tagged: #angular #animation #scale #width #height
ADD COMMENT
Topic
Name
2+9 =