Ask HN: Why do I see so much crazy inline styling on websites these days?
https://try.digitalocean.com/cloud-hosting/
I'm often curious how the source of a page looks like. So I inspected the headline "Cloud hosting developers love.".
This is what I found:
<h1 style="line-height: 77px;"> <span style="font-size: 60px; letter-spacing: -1.33px;"><span style="color: rgb(255, 255, 255);"><span class="ub-dynamic">Cloud</span></span></span><span style="font-size: 72px; letter-spacing: -1.33px;"><span style="color: rgb(255, 255, 255);"> </span></span><span style="font-size: 60px; letter-spacing: -1.33px;"><span style="color: rgb(255, 255, 255);">hosting</span></span> <br> <span style="font-size: 60px; letter-spacing: -1.33px;"><span style="color: rgb(255, 255, 255);">developers love. </span></span> </h1>
I find this kind of crazy inline styling and absurd choice of elements pretty often these days. Why? What is going on?
12 comments
[ 4.2 ms ] story [ 35.7 ms ] threadA kind of old, but relevant source: https://developers.google.com/speed/pagespeed/service/Priori...
i'd be interested to hear what objectively measurable properties this way of doing things might suffer from. e.g.
It's a bit hard to assess if this is easy to maintain without knowing how the page is generated. Maybe it's built by some pipeline that is very easy for the developers to maintain & easy for people to tweak the styles...(context: genuine interest, backend dev who has largely dodged having to care about html for the last n years...)