bestpractic.org
Blog Quizzes Packages Learn soon Courses soon
GitHub Sign in Get Started
Blog/Css
Topic

Css

18 articles on Css — each with a runnable playground and a quiz.

CSS

Container queries can check more than size — style queries let components read custom property values

Aug 6 · 4 min
CSS

Your browser renders everything, even what you can't see — content-visibility: auto fixes that

Aug 4 · 5 min
CSS

You're writing dark-mode colors twice. light-dark() fixes that.

Aug 2 · 5 min
CSS

CSS has no native scoping. @scope changes that.

Jul 31 · 5 min
CSS

You reach for Sass to mix colors. color-mix() does it natively.

Jul 29 · 4 min
CSS

You hand-edit headlines to avoid orphaned words. text-wrap: balance does it natively.

Jul 28 · 4 min
CSS

You use a setTimeout to trigger CSS entry animations. @starting-style makes it unnecessary.

Jul 25 · 4 min
CSS

You're using Floating UI to position your tooltip. The browser does it natively now.

Jul 18 · 5 min
CSS

Your margin-left doesn't exist in Arabic. CSS logical properties fix that.

Jul 17 · 5 min
CSS

Your CSS Grid cards look misaligned. subgrid is the fix you didn't know existed.

Jul 16 · 4 min
JavaScript

Your dropdown is a div. The browser has a native popover now.

Jul 12 · 4 min
CSS

You kept Sass for one reason. Native CSS nesting just ended it.

Jul 9 · 4 min
page 1 of 2
Older

Other topics

webdev 50javascript 45frontend 44typescript 9performance 7react 5node 4ai 3tutorial 3html 3
bestpractic.org

One platform for the things worth learning properly — and the tools that come out of learning them.

Learn

CoursesLearning pathsBlogQuizzesPlaygrounds

Community

PackagesSubmit a packageCollectionsCollaborate

Platform

PricingCollaborate

Sections

Web DevelopmentLanguages

© 2026 bestpractic.org

PrivacyTermsGitHub