While there’s no truly native way to build a light/dark color scheme switcher yet, we all try our best to build something that comes close. Some native HTML options are often overlooked in favor of hacky solutions. Let’s make them well-known and widely used while we wait for the proper built-in one.| pepelsbey.dev
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.| pepelsbey.dev
If you copy one of my article titles, you’ll probably get “ARTICLE TITLE” in uppercase. Why would I name my article like that? It’s not me, it’s browsers and specs again.| pepelsbey.dev
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.| pepelsbey.dev
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.| pepelsbey.dev
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!| pepelsbey.dev
Your website might be ready to adapt to any viewport. But why should users wait for irrelevant desktop styles when they load it on mobile?| pepelsbey.dev
It’s time to revisit the old SVG sprites trick and dig out a few alternative methods from the SVG spec and Internet archives.| pepelsbey.dev
You probably won’t ever need eleven ways of making columns, but you might learn something new while figuring them out.| pepelsbey.dev
On February 5th, 2008 I published a post called “A second breath” on my old blog. It lasted for a while until I stopped posting in 2014. Eight years later I’m taking a third breath and starting another blog.| pepelsbey.dev
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.| pepelsbey.dev