Skip to content Skip to sidebar Skip to footer

Text Images Adapt With Css Transform Responsive Design Within Grid (remove Zoom)

I have dates that are calculated with PHP and spat out as images that read things like 26th of February, 3rd of March etc. As the dates obviously different in character length I wa

Solution 1:

Unfortunately there doesn't appear to be away to hack around this with pure CSS - the answer in my case was to generate the images with the same height and width and centre the text within them - now all the images resize at the same time which keeps the resulting font size in sync. It does mean smaller maximum text in my case though as it requires creating a text box which can fit the largest result into it (30th September) which dictates how big the typeface can be for the 1st May as well.


Post a Comment for "Text Images Adapt With Css Transform Responsive Design Within Grid (remove Zoom)"