Search
Embrace your code’s transience
2.12.2021
Websites change. Healthy codebases are constantly being updated. Legacy code dies when it eventually goes down with the ship. Recognizing that my code is transient allows me to be more practical about my code and what guides my decision-making as …
Fractional SVG stars with CSS
2.12.2021
Some ⭐️⭐️⭐️⭐️⭐️ star rating systems aren’t always exactly even stars. Say you want to support rating something 2.25 stars. To do that you could “fill” the shape of the stars partially. I like this idea by Samuel...
Streaming Optimized Videos From AWS S3 in Minutes
2.12.2021
(This is a sponsored post.)
Videos appeal to humans in a way no other form of the content does. A video includes motion, music, still images, text, speech, and a few other elements, all of which combine to deliver …
Dock Life: Using Docker for All The Things!
1.12.2021
I think if you’re a DevOps person in any capacity, the utility of Docker is very clear. Your things run in containers that are identical everywhere. Assuming Docker is working/running, the code will execute in a reliably consistent way whether …
Embrace the Unpredictable
1.12.2021
In nature, no two things are ever the same. Life is imperfect, unpredictable, and beautiful. We can walk through the same forest every day and see differently colored leaves. We can look up at the clouds every minute and watch …
Exactly What You Want
1.12.2021
What is one thing people can do to make their website better?
Exactly what you want to build!
Ask yourself:
What drew you to development in the beginning?Is there an experimental API that you’ve been wanting to try out?…
Diagonal Stripes Wipe Animation
30.11.2021
I was playing this game on Apple Arcade the other day called wurdweb. It’s a fun little game! Little touches like the little shape dudes that walk around the screen (but otherwise don’t do anything) give it a lot …
The post Diagonal Stripes Wipe Animation appeared first...
Using the Reflog to Restore Lost Commits
30.11.2021
This article is part of our “Advanced Git” series. Be sure to follow us on Twitter or sign up for our newsletter to hear about future articles!
The “Reflog” is one of Git’s lesser-known features—but one that can be extremely …
The post Using the Reflog to Restore Lost Commits appeared first...
A Look at the Cloudinary WordPress Plugin
30.11.2021
(This is a sponsored post.)
Cloudinary (the media hosting and optimization service) has a brand new version (v3) of its WordPress plugin that has really nailed it. First, a high-level look at the biggest things this plugin does:
It
…
The post A Look at the Cloudinary WordPress Plugin...
Recreating the Apple Music Hits Playlist Animation in CSS
29.11.2021
Apple Music has this “Spatial Audio” feature where the direction of the music in your headphones is based on the location of the device. It’s tough to explain just how neat it is. But that’s not what I’m here to …
The post Recreating the Apple Music Hits...
We Analyzed 425,909 Favicons
29.11.2021
This is a neat idea for a research project. The big map is fun, but the research had some tidbits in it worth looking at.
The average favicon network request takes 130ms, at least from our speedy cloud instance.
…
The post We Analyzed 425,909 Favicons appeared first on CSS-Tricks. You...
When is it “Right” to Reach for contain and will-change in CSS?
26.11.2021
I’ve got some blind spots in CSS-related performance things. One example is the will-change property. It’s a good name. You’re telling the browser some particular property (or the scroll-position or content) uh, will, change:
.el {
will-change: opacity;
…
The post When...
A Handy Little System for Animated Entrances in CSS
26.11.2021
I love little touches that make a website feel like more than just a static document. What if web content wouldn’t just “appear” when a page loaded, but instead popped, slid, faded, or spun into place? It might be a …
The post A Handy Little System for Animated Entrances in CSS appeared...
Creating Generative Patterns with The CSS Paint API
24.11.2021
The browser has long been a medium for art and design. From Lynn Fisher’s joyful A Single Div creations to Diana Smith’s staggeringly detailed CSS paintings, wildly creative, highly skilled developers have — over the years — continuously pushed …
The post Creating Generative...
Which SVG technique performs best for way too many icons?
23.11.2021
Tyler Sticka digs in here in the best possible way: by making a test page and literally measuring performance. Maybe 1,000 icons is a little bit of an edge case, but hey, 250 rows of data with four icons in …
The post Which SVG technique performs best for way too many icons? appeared first...
Control Layout in a Multi-Directional Website
23.11.2021
Many business websites need a multilingual setup. As with anything development-related, implementing one in an easy, efficient, and maintainable way is desirable. Designing and developing to be ready for multiple languages, whether it happens right at launch or is expected …
The post Control...
On User Tracking and Industry Standards on Privacy
22.11.2021
Inspired by Eva PenzeyMoog’s new book, Jeremy highlights the widespread user tracking situation in this industry:
There was a line that really stood out to me:
The idea that it’s alright to do whatever unethical thing is currently the
…
The post On User Tracking...
CSS “decorations”
22.11.2021
A reader wrote to me the other day asking about this bit of CSS they came across in Wikipedia’s Common.css:
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
}
What’s that @noflip business? That’s...
Responsive Layouts, Fewer Media Queries
22.11.2021
We cannot talk about web development without talking about Responsive Design. It’s just a given these days and has been for many years. Media queries are a part of Responsive Design and they aren’t going anywhere. Since the introduction of …
The post Responsive Layouts, Fewer Media Queries...
Reimagine Atomic CSS
19.11.2021
I’m not the biggest fan of Atomic CSS myself. I don’t like all the classes. I like to express my styles in CSS because I find CSS… good. But I appreciate that a lot of people seem to like it, …
The post Reimagine Atomic CSS appeared first on CSS-Tricks. You can support...