Articles and resources in the CSS category. A full list of categories is also available.
Article posted 23rd December 2020 in CSS
Instead of using the
paddingdeclaration, I use the longhand
padding-right, and so on. Why? A few of good reasons: let me explain.
A summary of the things missing in CSS got me thinking about how lack of some form styling may have seriously damaged accessibility on the web
If we remove the list markers from an ordered or unordered list, we’re likely to run into some issues with VoiceOver.
Did you know you can choose any icon you like for unordered/bulleted lists with a single line of CSS? Any Unicode character; no hacky CSS!
Simple list styling like changing the bullets’ colour has always felt like a hack, involving a lot of CSS. But now there’s a proper way to do it!
border-bottomfor making your links a bit more visually engaging, here’s how to do it properly with