![Of Course We Can Make a CSS-Only Clock That Tells the Current Time!](https://www.cdn5.niftycent.com/d/k/A/N/b/K/K/of-course-we-can-make-a-css-only-clock-that-tells-the-current-time.webp)
Let’s build a fully functioning and settable “analog” clock with CSS custom properties and the calc() function. Then we’ll convert it into a “digital” clock as well. All this with no JavaScript! Here’s a quick look at the clocks …
The post Of Course We Can Make a CSS-Only Clock That Tells the Current Time! appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/of-course-we-can-make-a-css-only-clock-that-tells-the-current-time/
![How to Get a Pixel-Perfect, Linearly Scaled UI](https://www.cdn5.niftycent.com/d/k/W/E/d/G/q/how-to-get-a-pixel-perfect-linearly-scaled-ui.webp)
Dynamically scaling CSS values based on the viewport width is hardly a new topic. You can find plenty of in-depth coverage right here on CSS-Tricks in articles like this one or this one. Most of those examples, though, use …
The post How to Get a Pixel-Perfect, Linearly Scaled UI appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/how-to-get-a-pixel-perfect-linearly-scaled-ui/
![A Bashful Button Worth $8 Million](https://www.cdn5.niftycent.com/d/k/A/N/5/J/j/a-bashful-button-worth-8-million.webp)
Most of us grumble when running across a frustrating UX experience online (like not being able to complete a transaction because of a misplaced button). We might pen a whiny tweet. Jason Grigsby is like I’m going to write 2,000 …
The post A Bashful Button Worth $8 Million appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://cloudfour.com/thinks/a-bashful-button-worth-8-million/
![Build Complex CSS Transitions using Custom Properties and cubic-bezier()](https://www.cdn5.niftycent.com/d/1/q/o/R/O/V/build-complex-css-transitions-using-custom-properties-and-cubic-bezier.webp)
I recently illustrated how we can achieve complex CSS animations using cubic-bezier() and how to do the same when it comes to CSS transitions. I was able to create complex hover effect without resorting to keyframes. In this article, I …
The post Build Complex CSS Transitions using Custom Properties and cubic-bezier() appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/build-complex-css-transitions-using-custom-properties-and-cubic-b
![Jamstack Community Survey 2021](https://www.cdn5.niftycent.com/d/k/K/G/5/r/M/jamstack-community-survey-2021.webp)
(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 on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Links on React and JavaScript](https://www.cdn5.niftycent.com/d/D/y/R/x/7/b/links-on-react-and-javascript.webp)
As a day-job, React-using person, I like to stay abreast of interesting React news. As such, I save a healthy amount of links. Allow me to dump out my latest pile. Most of this is about React but not all …
The post Links on React and JavaScript appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Jamstack Community Survey 2021](https://www.cdn5.niftycent.com/d/D/y/R/x/p/0/jamstack-community-survey-2021.webp)
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 2021 appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Meta Theme Color and Trickery](https://www.cdn5.niftycent.com/d/D/v/j/B/p/y/meta-theme-color-and-trickery.webp)
Starting with Version 15, Safari supports the theme-color tag both on macOS and iOS. That’s exciting news because now the first desktop browser supports this tag and it also supports the media attribute and the prefers-color-scheme media feature.…
The post Meta Theme Color and Trickery appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
![Meet `:has`, A Native CSS Parent Selector](https://www.cdn5.niftycent.com/d/1/0/x/o/l/3/meet-has-a-native-css-parent-selector.webp)
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
, A Native CSS Parent Selector appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://www.smashingmagazine.com/2021/06/has-native-css-parent-selector/
![Using the Specificity of :where() as a CSS Reset](https://www.cdn5.niftycent.com/d/1/w/q/5/v/w/using-the-specificity-of-where-as-a-css-reset.webp)
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. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/using-the-specificity-of-where-as-a-css-reset/