We did something like that, I ended up defining a javascript function that checks screen.width and returns a different class name depending on the width. I then put a call to that function in a bunch of html tags that had a class name. Looking at it now I wonder why I didn't just put javascript in the CSS definition so it would only be called once - there may have been a reason, or it may just have been laziness or ignorance

). Anyway, it works - it lowers the font size a bit if the screen width is < 1100, which was just enough to make our layout fit on a 1024 display.