Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

stiches js keyframes

const scaleUp = keyframes({
  '0%': { transform: 'scale(1)' },
  '100%': { transform: 'scale(1.5)' },
});

const Button = styled('button', {
  '&:hover': {
    animation: `${scaleUp} 200ms`,
  },
});
Source by stitches.dev #
 
PREVIOUS NEXT
Tagged: #stiches #js #keyframes
ADD COMMENT
Topic
Name
5+5 =