Safe Haskell | None |
---|---|
Language | GHC2021 |
Web.Atomic.CSS.Transition
Synopsis
- transition :: Styleable h => Ms -> TransitionProperty -> CSS h -> CSS h
- data TransitionProperty
Documentation
transition :: Styleable h => Ms -> TransitionProperty -> CSS h -> CSS h Source #
Animate changes to the given property
el ~ transition 100 (Height 400) $ "Tall" el ~ transition 100 (Height 100) $ "Small"
data TransitionProperty Source #
Instances
Show TransitionProperty Source # | |
Defined in Web.Atomic.CSS.Transition Methods showsPrec :: Int -> TransitionProperty -> ShowS # show :: TransitionProperty -> String # showList :: [TransitionProperty] -> ShowS # |