Re:The Importance of Manually Breaking Lines of Text
by maxsavin on Sunday October 19, 2014 @04:14PM
(#8479458)
Thanks for commenting. It's a great idea from a design and readability perspective. It sounds like you do not like my implementation - you could be right. Here is another way of doing it.. maybe I'll update the post late:
<div class="desktop-breakline"></div>
with the appropriate @media query.
It's obviously not for every situation. But for landing and marketing pages, headlines, etc, I'd go as far as to say it's absolutely essential.
Re:The Importance of Manually Breaking Lines of Text
by jrochkind1 on Sunday October 19, 2014 @05:08PM
(#8479623)
I've also done simply:
<span class="line">First line</span> <span class="line">Second line</span>
Make em block level in css, collapsing to display:inline at small sizes. (Can even set the size with a specific class, bootstrap-style).
Re:The Importance of Manually Breaking Lines of Text
by maxsavin on Sunday October 19, 2014 @05:24PM
(#8479667)
Yeah that works, but it creates a lot of code. <hr> is just 4 characters, and reminds me a lot of <br>, so its easy to read. Once you adapt your perspective to it, it becomes really awesome.
1. Doesn't scale. You do not want to hand pick text all over your site/web-app. 2. It's not semantic. 3. It's very confusing to new people who looks at your code. 4. If you ever change a single char in that sentence, you will have to re-break it yourself.