I have a very elaborate header that uses lettering.js to style each individual letter.
Changing the text size with media queries would force me to change other aspect such as top
, and right
(relative) position as well as rotation and other styles separately.
I've found in webkit transform: scale()
works well and scales all aspects of the design, not just the font size.
Do other browsers have bugs that make this a bad solution? It seems to have reasonably good browser support, but I'm worried about bugs and pixelization on other browsers and rendering engines.
What are the (if any) drawbacks of using CSS3 transform: scale on text for responsive headers?
There are two issues that I can think of:
With that being said, I think your proposed solution is a reasonable one, and the drawbacks are certainly manageable!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With