NotAlec Posted April 21, 2021 Posted April 21, 2021 Site URL: https://www.oursnrg.com/ Hi, Looking for some advice on the best way to set line breaks for mobile to style headline text? Here is what is it currently looking like on the website and here is what I'm after Thanks in advance. a
tuanphan Posted April 22, 2021 Posted April 22, 2021 Use Code Block, enter this code <h2 class="ttext"><span>Empowering</span><span>sustainable,</span><span> all-electric</span><span> new housing</span><span> communities by</span><span> intelligently</span><span> harnessing their</span><span> collective energy</span></h2> <style> @media screen and (max-width:767px) { h2.ttext span { display: block; text-align: center; } } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.