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

---
title: Best CSS-Tricks posts — December 2021 | daily.dev
description: The most upvoted CSS-Tricks posts from December 2021, curated by the daily.dev community.
canonical: https://daily.dev/sources/css_tricks/best-of/2021/12
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/css_tricks/best-of/2021/12
og:type: website
og:site_name: daily.dev
og:title: Best CSS-Tricks posts — December 2021 | daily.dev
og:description: The most upvoted CSS-Tricks posts from December 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 — December 2021

1. 1  
[](https://daily.dev/posts/the-invisible-javascript-backdoor-sr2jeuwev "The Invisible JavaScript Backdoor")  
Article  
![Avatar of css_tricks](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)CSS-Tricks · 5y  
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.  
104  
7
2. 2  
[](https://daily.dev/posts/our-favorite-chrome-extensions-of-2021-zcqttwfoy "Our favorite Chrome extensions of 2021")  
Article  
![Avatar of css_tricks](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)CSS-Tricks · 5y  
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.  
43  
9
3. 3  
[](https://daily.dev/posts/inertia-wxosange0 "Inertia")  
Article  
![Avatar of css_tricks](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)CSS-Tricks · 5y  
Inertia  
Astro is a server-side version of SvelteKit that lets you use the same syntax as the incumbent, React. Astro uses the Vite compiler and is super fast and pleasant to work with. It lets me write components (in many different frameworks). But it also helps the user here. No more JavaScript bundle on the site at all.  
13  
2
4. 4  
[](https://daily.dev/posts/html-sanitizer-api-tnsc-iezv "HTML Sanitizer API")  
Article  
![Avatar of css_tricks](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/css_tricks)CSS-Tricks · 5y  
HTML Sanitizer API  
The draft report on a Sanitizer API is now in draft stage. It would let the browser clean user input before it is used again on the page. The draft report says:The browser has a fairly good idea of when it is going to execute code. We can improve upon the user-space libraries by teaching the browser how to render HTML from an arbitrary string in a safe manner.  
12  
2

[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/12#page","url":"https://daily.dev/sources/css_tricks/best-of/2021/12","name":"Best CSS-Tricks Posts — December 2021","description":"The most upvoted CSS-Tricks posts from December 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/12#items","numberOfItems":4,"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/our-favorite-chrome-extensions-of-2021-zcqttwfoy","name":"Our favorite Chrome extensions of 2021"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/inertia-wxosange0","name":"Inertia"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/html-sanitizer-api-tnsc-iezv","name":"HTML Sanitizer API"}]},{"@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":"December 2021"}]}]}
```

