r/technology 9h ago

Software Trump appoints Airbnb co-founder to revamp public (government) websites

https://www.dw.com/en/trump-appoints-airbnb-co-founder-to-revamp-public-websites-after-musk-doge-exit/a-73744139
1.9k Upvotes

116 comments sorted by

View all comments

151

u/Encomiast 9h ago edited 9h ago

The HTML of https://americabydesign.gov does not exactly inspire confidence that anyone over there actually knows what they are doing:

<span data-word-id="1-word-0" class="text-main-dark" style="transition:color 0.7s ease-in-out;-webkit-transition:color 0.7s ease-in-out;will-change:color">
    What's
</span></span>
<span><span data-word-id="1-word-1" class="text-main-dark" style="transition:color 0.7s ease-in-out;-webkit-transition:color 0.7s ease-in-out;will-change:color">
    the
</span></span>
<span><span data-word-id="1-word-2" class="text-main-dark" style="transition:color 0.7s ease-in-out;-webkit-transition:color 0.7s ease-in-out;will-change:color">
    biggest
</span></span>

24

u/Expensive-Job-9419 9h ago

eli5?

19

u/erics0n 9h ago

Not a webdev, but probably the double span for each word. The parent for each doesn't really serve a purpose or at least not required in this case (just based off this, idk the actual css file, too lazy to check). Also, inline styling.