Blogs
A collection of my thoughts, tutorials, and insights on web development.

The Radio State Machine
One of the best-known examples of CSS state management is the checkbox hack. What if we want a component to be in one of three, four, or seven modes? That is where the Radio State Machine comes in.
Read More
7 View Transitions Recipes to Try
Craving for a view transition? Sunkanmi has lots of common transitions you can drop into your website right now!
Read More
Selecting a Date Range in CSS
A clever approach for selecting multiple dates on a calendar where the :nth-child()'s “n of selector” syntax does all the heavy lifting... even in the JavaScript.
Read More
Alternatives to the !important Keyword
Cascade layers, specificity tricks, smarter ordering, and even some clever selector hacks can often replace !important with something cleaner, more predictable, and far less embarrassing to explain to your future self.
Read More
Looking at New CSS Multi-Column Layout Wrapping Features
Chrome 145 introduces the column-height and column-wrap properties, enabling us to wrap the additional content into a new row below, creating a vertical scroll instead of a horizontal scroll.
Read More
Making Complex CSS Shapes Using shape()
Creating rectangles, circles, and rounded rectangles is the basic of CSS. Creating more complex CSS shapes such as triangles, hexagons, stars, hearts, etc. is more challenging but still a simple task if we rely on modern features.
Read More
Front-End Fools: Top 10 April Fools’ UI Pranks of All Time
These are the historical pranks I consider the top 10 most noteworthy, rather than the “best.” You’ll see that some of them crossed the line and/or backfired.
Read More
Sniffing Out the CSS Olfactive API
A deep sniff of the new CSS Olfactive API, a set of proposed features for immersive user experiences using smell.
Read More
What’s !important #8: Light/Dark Favicons, @mixin, object-view-box, and More
Short n’ sweet but ever so neat, this issue covers light/dark favicons, @mixin, anchor-interpolated morphing, object-view-box, new web features, and more.
Read More