RSSAmplifier

Blog

Thatemil

That Emil is Emil Björklund

thatemil.comRSS feed ↗6 posts

Latest posts

Improving card patterns with anchor positioning

Digging into anchor positioning and coming out the other side with a better Card pattern? Yes please.

CSS Specificity as semantic versioning

When thinking about CSS specificity, it can be tricky at first to understand how one selector beats another. It just occurred to me that _semantic versioning_ could be a good way to explain it – provided you already know how the versioning scheme works.

Custom properties for breakpoint debugging

Yesterday, I stumbled across Eric Meyer’s post on [displaying CSS breakpoint information with generated content](https://meyerweb.com/eric/thoughts/2018/02/21/displaying-css-breakpoint-information-with-generated-content/). It reminded me of a solution to a related problem that Jeremy Keith blogged about way back in 2012 – [how to conditionally load content](https://adactio.com/journal/5414) (via…

Progressive Web Apps behind Basic Auth

When adding a service worker and Web App Manifest to a staging site recently, I ran into some small issues with HTTP Basic Auth. Here's how I solved them.

Smart borders between flex items – the dumb way

How to emulate a direction-independent border inbetween two flex-items, regardless of whether they wrap or not. Caution: it's the dumb.

Fixing fieldsets

The fieldset element is a really useful one. It creates a grouping of related form fields, giving them a label in the shape of a legend element. Sadly, it's a pain to style, but I think browser makers and spec writers have a unique opportunity to fix it.