Hey everyone, I did some Googling, but couldn’t find an answer yet.
I’m looking for a method to set the font size of a CMS text element to relative terms. In other words, I’d like the font size to be defined by the width of the element or viewport. This would let me keep the text element from wrapping when the viewport is smaller, or the text longer.
Is there any way to do this? I tried using a percentage or VW but that just seems to always set a fixed size for however much text you use. Currently any longer text input in the CMS either will either wrap, or be cut off (when I prevent overflow). It’d be much cooler if it scales down if there’s more text.