Meta Theme Color and Trickery
13.7.2021
Starting with Version 15, Safari supports the theme-color <meta> tag both on macOS and iOS. That’s exciting news because now the first desktop browser supports this <meta> tag and it also supports the media attribute and the prefers-color-scheme media feature.…
The post Meta...
Jamstack Community Survey 2021
13.7.2021
(This is a sponsored post.)
The folks over at Netlify have opened up the Jamstack Community Survey for 2021. More than 3,000 front-enders like yourself took last year’s survey, which gauged how familiar people are with the …
The post Jamstack Community Survey 2021 appeared first...
Jamstack Community Survey 2021
13.7.2021
The folks over at Netlify have opened up the Jamstack Community Survey for 2021. More than 3,000 front-enders like yourself took last year’s survey, which gauged how familiar people are with the term “Jamstack” and which frameworks they …
The post Jamstack Community Survey...
Rock the Stage with a Smooth WebGL Shader Transformation on Scroll
13.7.2021
A handy setup to create a smooth scroll based GLSL animation using Three.js and GSAP.
The post Rock the Stage with a Smooth WebGL Shader Transformation on Scroll appeared first on Codrops
Meet `:has`, A Native CSS Parent Selector
12.7.2021
The reasons that are often cited that make container queries difficult or impossible is things like infinite loops—e.g. changing the width of an element, invalidating a container query, which changes the width again, which makes the container query take effect, …
The post Meet `:has`,...
Using the Specificity of :where() as a CSS Reset
12.7.2021
I don’t know about you, but I write these three declarations many times in my CSS:
ul {
padding: 0;
margin: 0;
list-style-type: none;
}
You might yell at me and say I can just put those in my CSS …
The post Using the Specificity of :where() as a CSS Reset appeared first on CSS-Tricks....
:focus-visible in WebKit
9.7.2021
This is a nice update from Manuel Rego Casasnovas. Igalia has this idea to sort of crowd-source important web platform features that need to get worked on (that’s the sort of work they do). They call it Open Prioritization. …
The post :focus-visible in WebKit appeared first...
SVG Favicons in Action
9.7.2021
Ever heard of favicons made with SVG? If you are a regular reader of CSS-Tricks, you probably have. But does your website actually use one?
The task is more non-trivial than you might think. As we will see in this …
The post SVG Favicons in Action appeared first on CSS-Tricks. You...
Inspirational Websites Roundup #27
9.7.2021
A special selection of the most creative and interesting web designs from the last weeks.
The post Inspirational Websites Roundup #27 appeared first on Codrops
Fix Seeing “0” in Your JSX Code
9.7.2021
The early days of the web felt like the wild west when it came to coding practices — just make it work. Then we became enlightened to better practices, separating HTML from CSS and JavaScript. Then came React and JSX, where we combine JavaScript, HTML, and even CSS with Styled Components...
Beginner JavaScript Notes
9.7.2021
Wes has a heck of a set of “notes” for learning JavaScript. It’s organized like a curriculum, meaning if you teach JavaScript, you could do a lot worse. It’s actually more like 85 really fleshed-out blog posts organized into sections …
The post Beginner JavaScript...
Collective #669
8.7.2021
Typedream * Access Guide * npm audit: Broken by Design * Using HSL Colors In CSS
The post Collective #669 appeared first on Codrops