-
|
Beta Was this translation helpful? Give feedback.
Answered by
hugobqd
May 30, 2022
Replies: 1 comment 4 replies
-
Hello! Split transform's shorthand properties into transitionTimingFunction and transitionDuration (Here are the defaults token, but every valid css attributes is allowed : https://github.com/chakra-ui/chakra-ui/blob/main/packages/theme/src/foundations/transition.ts) <Container
_hover={{
shadow: 'md',
transform: 'translateY(-5px)',
transitionDuration: '0.2s',
transitionTimingFunction: "ease-in-out"
}}
> |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
snezhoque
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Split transform's shorthand properties into transitionTimingFunction and transitionDuration (Here are the defaults token, but every valid css attributes is allowed : https://github.com/chakra-ui/chakra-ui/blob/main/packages/theme/src/foundations/transition.ts)