Minimum CSS
thisdaysportion.com·2w

I came across a blog with 147 lines of CSS today, including a couple of font-face declarations and a handful of custom properties. It looked pretty good and was perfectly readable, which is a testament to both the author’s skill and judgement, the expressiveness of CSS and the robustness of browser defaults.

This sort of thing always gets me thinking about the minimum CSS required to publish a blog. You might start by arguing the answer to that question is none at all, and, strictly speaking, that’s true. Browsers style markup without you lifting a finger by putting margins between things, bolding, italicising, colouring links and lots of other things. You can even add a single line to your website’s head and get light and dark modes thrown in.

If you take that approach you *…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help