Articles 11 in total

RSS

The road to HTMHell is paved with semantics

HTML A11y

HTML semantics is a nice idea, but does it really make a difference? There’s a huge gap between HTML spec’s good intentions and what browsers and screen readers are willing to implement.

Jumping HTML tags. Another reason to validate your markup

HTML JavaScript

For most developers, HTML is just an artifact, like a binary file, and it often gets wrong and ugly. Fortunately, browsers are smart enough to handle poor markup. But sometimes, they take our mistakes personally, and tags start jumping around.

CSS lazy loading is kinda broken in Safari

CSS JavaScript

Remember this old trick that allowed us to load only critical CSS and defer the rest? The one, that used media="print" and onload event. I just realized that sometimes it doesn’t work in Safari.

A CSS challenge: skewed highlight

HTML CSS

Recently Sacha Greif challenged his Twitter followers to code a fancy highlighter effect using only CSS. Guess what? I took the bait and started coding!

CSS and JavaScript as first-class citizens in Eleventy

CSS JavaScript Eleventy

When building websites on Eleventy, we often have to decide how to deal with the CSS and JavaScript post-processing. Recently I came up with a solution, finally making CSS and JS first-class citizens in Eleventy for me.