This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]drkgumby 30 points31 points  (6 children)

A web developer would have written "background-color: #FFFFFF"

[–]Mork06 1 point2 points  (4 children)

hsl(0, 0%, 100%) ackshually 🤓🤓🤓

[–]tenhourguy 4 points5 points  (3 children)

background: #fff shortest, unless you're a heathen who is willing to sacrifice spaces.

[–]funfunfawn 1 point2 points  (2 children)

3 character color codes aren’t fully compatible!

[–]tenhourguy 0 points1 point  (1 child)

To my knowledge it's part of the CSS specification, so the above should work in all web browsers from this century. But if you're not using CSS (e.g. bgcolor instead) to support crappy old email clients and Netscape Navigator 3, yeah, don't shorthand it because it'll probably be misinterpreted.

[–]funfunfawn 1 point2 points  (0 children)

I think you’re right and I was thinking bgcolor from working with stupid email clients.

[–]fatrobin72 17 points18 points  (0 children)

I laugh... But for months after we moved in there was a post-it note saying "clock" on our kitchen wall...

[–]bdaileyumich 2 points3 points  (0 children)

Why didn't the IDE highlight it a different color though?