<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/css_tricks/best-of/2021" -->

---
title: Best CSS-Tricks posts of 2021 | daily.dev
description: The most upvoted CSS-Tricks posts of 2021, curated by the daily.dev community.
canonical: https://daily.dev/sources/css_tricks/best-of/2021
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/css_tricks/best-of/2021
og:type: website
og:site_name: daily.dev
og:title: Best CSS-Tricks posts of 2021 | daily.dev
og:description: The most upvoted CSS-Tricks posts of 2021, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of CSS-Tricks — 2021

1. 1  
[](/posts/the-invisible-javascript-backdoor-sr2jeuwev "The Invisible JavaScript Backdoor")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
1m read time • Dec 08, 2021  
### The Invisible JavaScript Backdoor  
An interesting (scary) trick of an nearly undetectable exploit. Wolfgang Ettlinger: What if a backdoor literally cannot be seen and thus evades detection even from thorough code reviews?I’ll post the screenshot of the exploit from the post with the actual exploit circled.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ce25fd39e4310d58d9fe01bb1c53034d)  
104  
7
2. 2  
[](/posts/you-want-enabling-css-selectors-not-disabling-ones-5ydaz-l2o "You want enabling CSS selectors, not disabling ones")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
1m read time • Aug 31, 2021  
### You want enabling CSS selectors, not disabling ones  
An enabling selector is what I call a selector that does a job without disabling the particular rule. Let's say we have list items and we want to add the margin to every one except the last one. First, we add margin-bottom to all elements. Then, we disable the bottom margin on the last element.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/776b8603ff15ea39f081eb3e58b362ee)  
93  
5
3. 3  
[](/posts/creating-the-perfect-commit-in-git-unoqikl74 "Creating the Perfect Commit in Git")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
7m read time • Sep 30, 2021  
### Creating the Perfect Commit in Git  
This article is part of our “Advanced Git’ series. Part 2: Branching Strategies in Git Part 3: Better Collaboration With Pull Requests Part 4: Rebase vs. Merge (Coming soon!) Part 6: Interactive Rebase Part 7: Using the Reflog to Restore Lost Commits.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/07bfa41ad4bfd8cfdfebbfebdb5e62ea)  
92  
1
4. 4  
[](/posts/can-i-include-facs1ua3p "Can I Include")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
1m read time • Oct 22, 2021  
### Can I Include  
This site helps you understand which tag you can include in another using the WHATWG HTML specification. Check when a tag can be included in another tag. Based on HTML spec | Last Updated 8 October 2021\. Swap tag names ? Pairing tag names with other tags is possible.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2e2fe7c7e9dfae49326a16d6c4bb6f94)  
80  
2
5. 5  
[](/posts/notion-api-niatslvbn "Notion API")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
4m read time • May 20, 2021  
### Notion API  
Public Beta of the Notion API has been released. The API is a full-blown API, so you can do things you’d expect to be able to do, like cURL for users, the content of pages, and manipulate databases. They have detailed documentation, expected barriers like rate limits, and even a JavaScript SDK.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/e36a2b08396b2bf4dc16439a7c0a44d8)  
75  
4
6. 6  
[](/posts/front-end-testing-is-for-everyone-nio6nzxny "Front-End Testing is For Everyone")  
[![Evgeny Klimenchenko's profile](https://avatars.githubusercontent.com/u/10736974?v=4&s=64)](https://daily.dev/dzheky)  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
15m read time • Jun 01, 2021  
### Front-End Testing is For Everyone  
There are many types of tests and perhaps that is where some of the initial fear or confusion comes from. Testing is an automated tool that finds errors in your development as early as possible. Tests also serve as a reminder that you may have forgotten to check your own work in a certain area.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/60014975c0c4203d3cd958afa236371a)  
56  
4
7. 7  
[](/posts/vs-code-extensions-for-html-ifch06h7y "VS Code Extensions for HTML")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
4m read time • Jun 07, 2021  
### VS Code Extensions for HTML  
This week we look at some extensions for VS Code that make writing and editing HTML better. These are just a handful that I’ve tried and liked to some degree. You may not like all of them. Maybe some of them don’t appeal to you, or feel like more clutter than you need.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6517104ee289ab9f920874f4a43cdf60)  
52  
7
8. 8  
[](/posts/scroll-shadows-with-javascript-wr1u33mzu "Scroll Shadows With JavaScript")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
2m read time • Oct 05, 2021  
### Scroll Shadows With JavaScript  
scroll shadows are when you can see a little inset shadow on elements if (and only if) you can scroll in that direction. You can actually pull it off in CSS, which I think is amazing and one of the great CSS tricks. Except… it just doesn’t work on iOS Safari.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1216cc4d53dfca6c908f4e2671bd6c2e)  
49  
3
9. 9  
[](/posts/let-s-create-an-image-pop-out-effect-with-svg-clip-path-avixf-xqz "Let’s Create an Image Pop-Out Effect With SVG Clip Path")  
[![Adrian Bece's profile](https://lh3.googleusercontent.com/a-/AOh14GhnN6euW7vrStweOpsgU9GB1vbFf6Pv12ZI3e6WYg=s100)](https://daily.dev/code%5Fadrian)  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
6m read time • Apr 02, 2021  
### Let’s Create an Image Pop-Out Effect With SVG Clip Path  
A cool pop-out effect by Mikael Ainalem showcases the clip-path: path() in CSS. The effect looks cool, but there are some issues with the path value. We’re going to re-create this effect using standard, widely-supported CSS techniques so that it not only works, but is truly responsive.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/a4a7ed21c937003bccbb0a48759a0006)  
48  
5
10. 10  
[](/posts/what-i-wish-i-knew-about-css-when-starting-out-as-a-frontender-uqqkz-yp1 "What I Wish I Knew About CSS When Starting Out As A Frontender")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
5m read time • Sep 01, 2021  
### What I Wish I Knew About CSS When Starting Out As A Frontender  
The Box Model (e.g. box-sizing , height , width , margin , padding ) The Document Flow and Positioning (e,g. position , top , left , etc.) There are also some useful concepts to keep in mind when building reusable and composable components.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/3f68bb21365351b6e7542f5c9b0cde1d)  
47  
1
11. 11  
[](/posts/napkin-backend-in-the-browser-q0a5coeza "Napkin – Backend in the Browser")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
1m read time • Aug 11, 2021  
### Napkin – Backend in the Browser  
Build production-ready API endpoints. No infra. No boilerplate. Just code. Runnable Run and view your code response immediately. Test, lint, and view code errors right in the browser. Your code is automatically saved and backed up in the cloud.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/8091f2729297d6ab809e59b9f42fa527)  
47  
3
12. 12  
[](/posts/es2021-wj8aoryjp "ES2021")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
1m read time • Jul 27, 2021  
### ES2021  
Promise.any & AggregateError & WeakRefs & FinalizationRegistry. Objects are Logical. Assignment Operators, Numeric Separators, and String.prototype.replaceAll. ES2021 Features! are available in ES6, ES7, and ES8.  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f16ba6144666034178c7ed379e2a3f20)  
45  
3
13. 13  
[](/posts/firebase-crash-course-rlfcceiss "Firebase Crash Course")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
23m read time • Mar 09, 2021  
### Firebase Crash Course  
Firebase is a platform that provides the infrastructure for developers and tools for marketers. While Firebase can make up the entirety of your app’s back-end, you can use each product individually as well. Each product is designed to empower a part of an application's infrastructure. Firebase also gives you insight into how your app is performing and what your users are doing.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2ad7480430e7a0696fbdbb3f4bcf948c)  
45  
1
14. 14  
[](/posts/our-favorite-chrome-extensions-of-2021-zcqttwfoy "Our favorite Chrome extensions of 2021")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
3m read time • Dec 28, 2021  
### Our favorite Chrome extensions of 2021  
Sarem Gizaw lists some of his favorite Chrome extensions. Here are his top picks for the best of the bunch. Some of the most popular include Loom, Dark Reader and Wordtune. Others are less well-known, but some are worth a look.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6101af5d80af81fad491b828116605da)  
43  
9
15. 15  
[](/posts/let-s-create-a-custom-audio-player-prt3lc6ww "Let’s Create a Custom Audio Player")  
[![Idorenyin Udoh's profile](https://avatars0.githubusercontent.com/u/44336070?v=4&s=64)](https://daily.dev/idorenyinudoh)  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
22m read time • Feb 18, 2021  
### Let’s Create a Custom Audio Player  
HTML has a built-in native audio player interface that we get simply using the <audio> element. We get to specify multiple files for better browser support, as well as a little CSS flexibility to style things up. Lottie is a library that renders Adobe After Effects animations natively.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ae8187ae3193097b44a629e7745cbf1b)  
43  
3
16. 16  
[](/posts/how-to-create-a-shrinking-header-on-scroll-without-javascript-oevpab8fg "How to Create a Shrinking Header on Scroll Without JavaScript")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
2m read time • Feb 16, 2021  
### How to Create a Shrinking Header on Scroll Without JavaScript  
Sticky headers are a way to shrink a website’s header without using JavaScript. The inner container contains all the header elements, such as the logo and the navigation. The outer container is in a way the actual header, while the only function of the parent element is to make the header taller.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ae1f09b800599d97f3c62ad3c82d1d22)  
43  
3
17. 17  
[](/posts/did-you-know-about-the-has-css-selector--ofhtvtru9 "Did You Know About the :has CSS Selector?")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
2m read time • Mar 17, 2021  
### Did You Know About the :has CSS Selector?  
The :has CSS selector is going to have a big impact on how we write CSS in the future. In fact, if it ever ships in browsers, I think it breaks my mental model for how CSS fundamentally works because it would be the first example of a parent selector in CSS. :has isn’t supported in browsers right now (probably for those performance reasons), it is part of the CSS Selectors Level 4 specification.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/4038384dc18dd7b237906ad889689ce0)  
40  
4
18. 18  
[](/posts/greensock-scrolltrigger-rcbyr6ysy "GreenSock ScrollTrigger")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
1m read time • Jan 28, 2021  
### GreenSock ScrollTrigger  
ScrollTrigger is a new plugin from Greensock. It triggers animation when a page scrolls to certain positions, as well as when certain elements are in the viewport. It’s tightly integrated with all the other animation possibilities of GSAP. You can play with it on CodePen for free (search for it).

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/95fc9dd5d0279ff48b58b51fad9fa20f)  
39  
2
19. 19  
[](/posts/cancelable-smooth-scrolling-f8exn7vc9 "“Cancelable” Smooth Scrolling")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
• Feb 02, 2021  
### “Cancelable” Smooth Scrolling  
I’m finding some discrepancies between browsers, as well as between CSS and JavaScript on how this all works. Here’s what I experienced on the browsers I have easy access to: Chrome, Firefox, Safari and Edge. I find the cancellable behavior better UX, although I have no data to back that up.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ad82f0f0690ba348fab19e3df04ef696)  
38  
6
20. 20  
[](/posts/a-super-flexible-css-carousel-enhanced-with-javascript-navigation-2h4anydr7 "A Super Flexible CSS Carousel, Enhanced With JavaScript Navigation")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
11m read time • Mar 05, 2021  
### A Super Flexible CSS Carousel, Enhanced With JavaScript Navigation  
The Easy Carousel is a simple carousel component that allows you to scroll smoothly, navigate with the dynamic buttons, and is responsive. We’re going to be working with quite a bit of JavaScript, React and the DOM API from here on out. Let’s start by bootstrapping a simple React application with styled-components tossed in for styling.

+4  
![Post Cover image](https://i0.wp.com/css-tricks.com/wp-content/uploads/2021/02/scroll-snap-carousel.gif?fit=900%2C450&ssl=1)  
37
21. 21  
[](/posts/a-dry-approach-to-color-themes-in-css-q0jnjzmjr "A DRY Approach to Color Themes in CSS")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
3m read time • Feb 24, 2021  
### A DRY Approach to Color Themes in CSS  
The goal of DRY (Don’t Repeat Yourself) programming is to avoid redefining custom properties when switching between light and dark modes. Florens Verschelde asked about defining dark mode styles for both a class and a media query, without repeat CSS custom properties declarations. I remembered Lea Verou’s trick using --var: ; , and found a way to make it work.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d19329120259effcc75f5b2a2f36098d)  
36  
4
22. 22  
[](/posts/animxyz-1oo0b6qxe "AnimXYZ")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
1m read time • Jan 18, 2021  
### AnimXYZ  
AnimXYZ is designed to be highly customizable, calling itself “the first composable CSS animation toolkit.” You can use as many of the different composable bits as you need to get the in/out animation you want. Play with their builder and you’ll see output like: xyz="tall-2 stagger-back duration-6 ease-out-back"

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/5c0c2192dd6dad79ee7301f80e8a81a7)  
36  
1
23. 23  
[](/posts/how-to-map-mouse-position-in-css-y6xmo5vz7 "How to Map Mouse Position in CSS")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
7m read time • Mar 01, 2021  
### How to Map Mouse Position in CSS  
The goal is to create an invisible grid on the screen, and use the :hover pseudo-class to map each ‘cell’ to a set of values that we will allocate to the custom properties. We will use the mouse position to set the value of these properties, and then use them set the .square element’s width and height accordingly.

+2  
![Post Cover image](https://i0.wp.com/css-tricks.com/wp-content/uploads/2021/02/css-mouse-cursor-mapping.gif?fit=900%2C450&ssl=1)  
35  
1
24. 24  
[](/posts/we-had-90-unused-css-because-everybody-was-afraid-to-touch-the-old-stuff--ty-jituya "“We had 90% unused CSS because everybody was afraid to touch the old stuff”")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
2m read time • Aug 18, 2021  
### “We had 90% unused CSS because everybody was afraid to touch the old stuff”  
At PayPal, 90% of CSS was unused because people were afraid to touch it. That’s one of the reasons I sometimes like component-based-styling solutions. Because nobody is afraid of the styles anymore — they are tightly coupled to what they are styling. I’m excited that “scoped styles” are making a bit of a comeback in standards discussions.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/bdaa3c30c056358a5c785e42aa253c10)  
33
25. 25  
[](/posts/demystifying-styled-components-wwqmaj3rs "Demystifying styled-components")  
[![css_tricks's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)](/sources/[source]/best-of/[year])  
12m read time • Jul 27, 2021  
### Demystifying styled-components  
styled-components is a tool that takes arbitrary CSS and assigns it to a React component. By demystifying it, we'll be able to diagnose and fix weird CSS issues with way less frustration. This article is written for experienced React developers. It may surprise you to learn that styled-Components doesn't do anything with the CSS we added to it.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d3151cc60ca4c95fc69f57f420b4eba5)  
33  
7

[See all CSS-Tricks archives](/sources/css%5Ftricks/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/css_tricks/best-of/2021#page","url":"https://daily.dev/sources/css_tricks/best-of/2021","name":"Best CSS-Tricks Posts of 2021","description":"The most upvoted CSS-Tricks posts of 2021, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/css_tricks/best-of/2021#items","numberOfItems":25,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/the-invisible-javascript-backdoor-sr2jeuwev","name":"The Invisible JavaScript Backdoor"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/you-want-enabling-css-selectors-not-disabling-ones-5ydaz-l2o","name":"You want enabling CSS selectors, not disabling ones"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/creating-the-perfect-commit-in-git-unoqikl74","name":"Creating the Perfect Commit in Git"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/can-i-include-facs1ua3p","name":"Can I Include"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/notion-api-niatslvbn","name":"Notion API"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/front-end-testing-is-for-everyone-nio6nzxny","name":"Front-End Testing is For Everyone"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/vs-code-extensions-for-html-ifch06h7y","name":"VS Code Extensions for HTML"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/scroll-shadows-with-javascript-wr1u33mzu","name":"Scroll Shadows With JavaScript"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/let-s-create-an-image-pop-out-effect-with-svg-clip-path-avixf-xqz","name":"Let’s Create an Image Pop-Out Effect With SVG Clip Path"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/what-i-wish-i-knew-about-css-when-starting-out-as-a-frontender-uqqkz-yp1","name":"What I Wish I Knew About CSS When Starting Out As A Frontender"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/napkin-backend-in-the-browser-q0a5coeza","name":"Napkin – Backend in the Browser"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/es2021-wj8aoryjp","name":"ES2021"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/firebase-crash-course-rlfcceiss","name":"Firebase Crash Course"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/our-favorite-chrome-extensions-of-2021-zcqttwfoy","name":"Our favorite Chrome extensions of 2021"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/let-s-create-a-custom-audio-player-prt3lc6ww","name":"Let’s Create a Custom Audio Player"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/how-to-create-a-shrinking-header-on-scroll-without-javascript-oevpab8fg","name":"How to Create a Shrinking Header on Scroll Without JavaScript"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/did-you-know-about-the-has-css-selector--ofhtvtru9","name":"Did You Know About the :has CSS Selector?"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/greensock-scrolltrigger-rcbyr6ysy","name":"GreenSock ScrollTrigger"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/cancelable-smooth-scrolling-f8exn7vc9","name":"“Cancelable” Smooth Scrolling"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/a-super-flexible-css-carousel-enhanced-with-javascript-navigation-2h4anydr7","name":"A Super Flexible CSS Carousel, Enhanced With JavaScript Navigation"},{"@type":"ListItem","position":21,"url":"https://daily.dev/posts/a-dry-approach-to-color-themes-in-css-q0jnjzmjr","name":"A DRY Approach to Color Themes in CSS"},{"@type":"ListItem","position":22,"url":"https://daily.dev/posts/animxyz-1oo0b6qxe","name":"AnimXYZ"},{"@type":"ListItem","position":23,"url":"https://daily.dev/posts/how-to-map-mouse-position-in-css-y6xmo5vz7","name":"How to Map Mouse Position in CSS"},{"@type":"ListItem","position":24,"url":"https://daily.dev/posts/we-had-90-unused-css-because-everybody-was-afraid-to-touch-the-old-stuff--ty-jituya","name":"“We had 90% unused CSS because everybody was afraid to touch the old stuff”"},{"@type":"ListItem","position":25,"url":"https://daily.dev/posts/demystifying-styled-components-wwqmaj3rs","name":"Demystifying styled-components"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"CSS-Tricks","item":"https://daily.dev/sources/css_tricks"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/css_tricks/best-of"},{"@type":"ListItem","position":5,"name":"2021"}]}]}
```

