Closed NCrashed closed 3 years ago
I found workaround:
translatePctY y = prefixed (browsers <> "transform") $ "translateY(" <> value y <> ")"
Is it intentional design?
Seems like an arbitrary restriction. https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translateY#Syntax says one can translate by percentages. PRs that relax the typing constraints on the translate*
functions welcome.
Stale issue message
This issue has not seen any activity in a long time. If no further activity occurs, it will be closed after ten weeks.
I'd like to get
transform: translateY(-50%);
in output, but http://hackage.haskell.org/package/clay-0.13.1/docs/Clay-Transform.html#v:translateY doesn't acceptSize Percentage
. Is it intentional design?