Responsive font size in CSS

前端 未结 30 2783
刺人心
刺人心 2020-11-22 07:23

I\'ve created a site using the Zurb Foundation 3 grid. Each page has a large h1:

30条回答
  •  忘了有多久
    2020-11-22 08:11

    Here is something that worked for me. I only tested it on an iPhone.

    Whether you have h1, h2, or p tags put this around your text:

    The Text you want to make responsive

    This renders a 22pt text on a desktop and it is still readable on the iPhone.

    
    

提交回复
热议问题