{"id":337813,"date":"2021-04-07T13:41:57","date_gmt":"2021-04-07T20:41:57","guid":{"rendered":"https:\/\/css-tricks.com\/?p=337813"},"modified":"2021-04-07T13:41:59","modified_gmt":"2021-04-07T20:41:59","slug":"css-is-in-fact-awesome","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/css-is-in-fact-awesome\/","title":{"rendered":"CSS Is, In Fact, Awesome"},"content":{"rendered":"\n

You’ve seen the iconic image.<\/a> Perhaps some of what makes that image so iconic is that people see what they want to see in it. If you see it as a critique of CSS being silly, weird, or confusing, you can see that in the image. If you see it as CSS being powerful and flexible, you’ve got that too. That’s what Jim Neilsen is saying<\/a> here, reacting to a presentation by Hidde de Vries<\/a>:<\/p>\n\n\n\n

This is the power<\/em> of CSS. It gives you options. Use them or don\u2019t.<\/p><\/blockquote>\n\n\n\n\n\n\n\n

Want it to overflow visibly? It can. Want it to lop off overflowing content? It can. Want it to stretch? It can. Want it to ellipse? It can. Want it to wrap or not wrap? It can. Want to scale the type to fit? It can. If you love CSS, this is probably exactly why.<\/p>\n\n\n\n

Mandy Michael has a great thread on this from a few years back:<\/p>\n\n\n\n

\n

Or you know, how about we just make the box bigger so it fits the text, we could just get rid of the explicit width and height and everything will just work.<\/p>— Mandy Michael (@Mandy_Kerr) April 15, 2018<\/a><\/blockquote>