Detecting Specific Text Input with HTML and CSS
9.11.2021
Louis Lazaris breaks down some bonafide CSS trickery from Jane. The Pen shows off interactivity where:
You have to press a special combination of keys on a keyboard.
Then type a secret password.
From there, a special message pops …
The post Detecting Specific Text Input with HTML and...
VideoPress for WordPress
9.11.2021
(This is a sponsored post.)
The leade here is that VideoPress makes video on WordPress way better. VideoPress is a part of Jetpack. And now, if VideoPress is the only thing you care about from the Jetpack world, you …
The post VideoPress for WordPress appeared first on CSS-Tricks. You...
React Suspense: Lessons Learned While Loading Data
9.11.2021
Suspense is React’s forthcoming feature that helps coordinate asynchronous actions—like data loading—allowing you to easily prevent inconsistent state in your UI. I’ll provide a better explanation of what exactly that means, along with a quick introduction of Suspense, and then …
The...
CSS Grid Can Do Auto Height Transitions
8.11.2021
Bonafide CSS trick alert! Nelson Menezes figured out a new way (that only works in Firefox for now) that is awfully clever.
Perhaps you know that CSS cannot animate to auto dimensions, which is super unfortunate. Animating from …
The post CSS Grid Can Do Auto Height Transitions appeared...
Inspirational Websites Roundup #31
8.11.2021
A new collection of the most interesting and creative websites from the past couple of weeks.
The post Inspirational Websites Roundup #31 appeared first on Codrops
Inspirational Websites Roundup #31
8.11.2021
A new collection of the most interesting and creative websites from the past couple of weeks.
The post Inspirational Websites Roundup #31 appeared first on Codrops
Icon Glassmorphism Effect in CSS
8.11.2021
I recently came across a cool effect known as glassmorphism in a Dribble shot. My first thought was I could quickly recreate it in a few minutes if I just use some emojis for the icons without wasting time …
The post Icon Glassmorphism Effect in CSS appeared first on CSS-Tricks. You...
Does the Next Generation of Static Site Generators Make Building Sites Better?
8.11.2021
Just ran across îles, a new static site generator mostly centered around Vue. The world has no particular shortage of static site generators, but it’s interesting to see what this “next generation” of SSGs seem to focus on or …
The post Does the Next Generation of Static...
Array.prototype.at
8.11.2021
Working with arrays is an essential skill in any programming language, especially JavaScript, as we continue to rely on external data APIs. JavaScript has added methods like find and `findIndex recently, but one syntax I love from languages like Python is retrieving values by negative indexes. When...
Favicons: How to Make Sure Browsers Only Download the SVG Version
5.11.2021
Šime Vidas DM’d me the other day about this thread from subzey on Twitter. My HTML for favicons was like this:
<!-- Warning! Typo! --<link rel="icon" href="/favicon.ico" size="any"<link rel="icon" href="/favicon.svg" type="image/svg+xml"
The attribute size is a typo there...
Yes, Design Systems Do Improve Developer Efficiency and Design Consistency
5.11.2021
One of the toughest things about being someone who cares deeply about design systems is making the case for a dedicated design system. Folks in leadership will often ask you to prove the value of it. Why should we care …
The post Yes, Design Systems Do Improve Developer Efficiency and Design...
How to Create an Animated Chart of Nested Squares Using Masks
5.11.2021
We have many well-known chart types: bar, donut, line, pie, you name it. All popular chart libraries support these. Then there are the chart types that do not even have a name. Check out this dreamt-up chart with stacked (nested) …
The post How to Create an Animated Chart of Nested Squares...