But every once in a while, articles tend to circulate and get some attention as to the possibilities of what CSS can do that might surprise or worry you.
One of my favorite ways of adding icons to a site is by including them as data URL background images to pseudo-elements (e.g. ::after) in my CSS. This technique offers several advantages:
Let’s take a look at how to do it in different browsers. Although note the date of this blog post. This stuff tends to change over time, so if anything here is wrong, let us know and we can update it.… Read article “Can you view print stylesheets applied directly in the browser?”
In this week’s roundup, variable fonts get oblique, a new browser extension for linting, and the very first version of CSS Modules.… Read article “Weekly Platform News: CSS font-style: oblique, webhint browser extension, CSS Modules V1”
There will always be delays when handling requests over the network. That’s just part of the deal when it comes to making a request and waiting for a response. That’s … Read article “Fetching Data in React using React Async”
In the last article in this series, we built a lightweight script (6kb, 2.7kb minified) using the Validity State API to enhance the native form validation experience. It works in all modern browsers and provides support IE support back to IE10. But, there are some browser gotchas.
Bobby Grace, on the Dropbox Paper team:
But there is no similarly easy mechanism to add, say, 5 to both foo and bar at the same time. Of course, it’s simple enough to just do:
Maybe the award site should win the award.… Read article “Web Awards for Horizontal and Vertical Writings”
Replicating, debugging, setting up the local environment was interesting, difficult, and meaningful.… Read article “What I Learned by Fixing One Line of CSS in an Open Source Project”