Articles in “HTML & CSS”
-
Text-overflow: ellipsis considered harmful
On the downsides of constraining content through CSS. Read Full Article
-
The case for using Sass in 2022
With CSS adding a lot of equivalent features, is Sass relevant? The answer is still Yes, it is far from obsolete, despite what some folks might tell you. Read Full Article
-
How I Chose an Animation Library for My Solitaire Game
Follow the journey one front-end developer took to narrow down which animation library to use on a project to create a Solitaire online game. Read Full Article
-
The complete guide to the dark mode toggle
This complete guide to the dark mode toggle includes best practices for implementing a color mode switcher on your website using custom variables, prefers-color-scheme, and more, all with a very pretty demo! Read Full Article
-
My Dumbest CSS Mistakes
We all make mistakes in our code. CSS mistakes are super easy to make and these are just a few of the most common ones I find myself correcting. Read Full Article
-
Introduction to Defensive CSS
Practical CSS and design tips that helps in building future-proof user interfaces. Read Full Article
-
My wonderful HTML email workflow
If you’ve ever had the misfortune of being tasked with building a template for HTML emails, you know it’s tricky business! In this blog post, I share the approach I took to build responsive, client-friendly emails without a single <table> tag. Read Full Article
-
Single Element Loaders: The Bars
We’ve looked at spinners. We’ve looked at dots. Now we’re going to tackle another common pattern for loaders: bars. And we’re going to do the same thing in… Read Full Article
-
Can we enterprise CSS grid?
Regardless of whether the title of this blog post is grammatically correct or not, this is a question that I’ve had the opportunity to tackle recently. Read Full Article
-
Style scoping versus shadow DOM: which is fastest?
Last year, I asked the question: Does shadow DOM improve style performance? I didn’t give a clear answer, so perhaps it’s no surprise that some folks weren’t sure what conclusion … Read Full Article