calc in translate
Chrome will not let me use 'calc' in 'translate', like:
transform: translate3d(0,calc(-100vh-10em),0)
But Chrome allows the equivalent:
transform: translate3d(0,-100vh,0) translate3d(0,-10em,0)
There is an answer about this on 'stackoverflow.com' at:
'stackoverflow.com/questions/21469350/not-possible-to-use-css-calc-with-transformtranslatex-in-ie'
I am using an old version of Chrome on Windows7 dating from the start of 2023.
There are more tips at: bbingo.xyz/techtips/
Comments
Post a Comment