Search
Swipey Image Grids
3.5.2021
I hope people think of SVG as a vector format that is good for drawing things. There is plenty more to know, but here’s one more: SVG is good for composition. You draw things at very specific coordinates …
The post Swipey Image Grids appeared first on CSS-Tricks.
You can support...
Jenny B Kowalski’s A-Z (and a-z) as Variable Letterforms
30.4.2021
Jenny B Kowalski has been posting a-letter-a-day on Instagram exploring multi-axis variable/responsive letterforms. They are very clever in that one of the axes controls an uppercase-to-lowercase conversion, literally morphing the shape of the letters from an uppercase version to a …
The...
Image Optimization Strategies Compared (Sponsored)
30.4.2021
We all know the stats. Slower website performance is strongly linked to higher abandon rates and lower conversions. What you may not know is that the main culprit is bloated web page payloads, bringing down our otherwise performant web pages via images. That being said, images also drive...
Regular Expression Match Groups
26.4.2021
Regular expressions are incredibly powerful but can be difficult to maintain. They’re a skill you learn on the job and, when the suits walk by, make you look incredibly smart if you have a few up on your screen. How can we solve the maintainability problem? With a match groups, as Addy Osmani...
How to Add a Double Border to SVG Shapes
21.4.2021
Let’s say someone asks you to add a double border to some random geometric SVG shapes. For some reason, you can’t use any graphic editor — they need to be generated at runtime — so you have to solve it …
The post How to Add a Double Border to SVG Shapes appeared first on CSS-Tricks.
You...
Object.entries
20.4.2021
Navigating and managing data structures is a really important skill for every level of engineer to have and improve upon. Over the years, the JavaScript language has continued to provide more methods for managing data structures, from Object.keys to Object.values and so on. One of my favorites...
CSS Smooth Scroll
19.4.2021
Improving the user experience of web applications has always been a priority of mine. I always come back to the same though I’ve had for 20 years: “users expect a web app to work — let’s make the app a joy to use.” Over the years we’ve employed JavaScript...
Monitor Your SEO Placement with SEObase (Sponsored)
16.4.2021
Search engine optimization is big business; both SEO experts and their customers want to track the effectiveness of their keywords, campaigns, and competition. To get and measure those results, however, you need the right tooling monitor those results. SEObase is an awesome tool for doing just that...
Five Top Quality APIs
13.4.2021
It’s easy to think about creating beautiful UIs for presenting data when you don’t consider the effort that goes into gathering and serving the data itself. Here’s the thing — thanks to apilayer, you can focus on your UIs and not the pain of API creation. No need to worry...
Intl.NumberFormat
13.4.2021
Formatting numbers on the client side is an important task, especially when you consider how much raw API usage is in play these days. What’s also important is ensuring those numbers are meaningful to users, no matter where they are in the world, especially if you’re an eCommerce...
Detect CSS Overflow Elements
8.4.2021
Every once in a while you encounter a CSS annoyance that takes some cleverness to discover. One such case rears its ugly head in unwanted and unexpected scrollbars. When I see unwanted scrollbars, I usually open developer tools, click the element inspector, and hover around until I find...
Platform News: Rounded Outlines, GPU-Accelerated SVG Animations, How CSS Variables Are Resolved
2.4.2021
In the news this week, Firefox gets rounded outlines, SVG animations are now GPU-accelerated in Chrome, there are no physical units in CSS, The New York Times crossword is accessible, and CSS variables are resolved before the value is inherited.…
The post Platform News: Rounded Outlines...
Let’s Create an Image Pop-Out Effect With SVG Clip Path
2.4.2021
Few weeks ago, I stumbled upon this cool pop-out effect by Mikael Ainalem. It showcases the clip-path: path() in CSS, which just got proper support in most modern browsers. I wanted to dig into it myself to get …
The post Let’s Create an Image Pop-Out Effect With SVG Clip Path appeared first...
Collective #655
1.4.2021
SVG Generators * Best practices for cookie notices * Overlay Fact Sheet * Skribbl
The post Collective #655 appeared first on Codrops
How to Mine Ethereum
25.3.2021
Note: I expect a large number of people to object to cryptocurrency mining’s energy use and I totally understand. ...
Now is the Time to Get Your Business Protected from Cyberthreats (Sponsored)
23.3.2021
Malware has been a problem for decades, one that was exacerbated by the the rise of the internet, file sharing, and digital assets. Whether it’s keyloggers or other types of malware, they’ll make your computer slow and insecure, all without you knowing. And if you’re an employer...
VS Code node:console Fix
23.3.2021
I’ve been using Microsoft’s Visual Studio Code text editor for years with great success. The app has always been stable, flexible, and the best compliment I can give it: an afterthought. Recently, however, every time I added a console.log to a JavaScript file, VS Code would add import...
Use Logpoints!
22.3.2021
There’s sometimes a tribal attitude about how web developers should be debugging their code and solving problems. There’s the console.log loyalists, then there’s the debugger/breakpoint maximalists. I worked on the Firefox DevTools debugger for years and I can tell you...
Creating Patterns With SVG Filters
15.3.2021
For years, my pain has been not being able to create a somewhat natural-looking pattern in CSS. I mean, sometimes all I need is a wood texture. The only production-friendly solution I knew of was to use an external image, …
The post Creating Patterns With SVG Filters appeared first...
Awesome Git Aliases
15.3.2021
Git is an amazingly powerful tool. It can keep track of all the code you write, let you organize your work into different branches, help you seamlessly work with other developers, and even let you time travel and make changes. But wouldn’t it be awesome if Git could do more? What if you could...