DEV Community

Cover image for Some small Css tips #013

Some small Css tips #013

vanaf1979 profile image Stephan Nijman Originally published at ・1 min read

To continue on my previous post here are some more tweets with little Css tips that might help you in your projects.

Css @import.

@import docs:

Select every 3th, 4th, 5th etc item.

:nth-child doc:

Css prefers-color-scheme.

Prefers color scheme docs:

Css prefers-reduced-motion.

Prefers reduced motion docs:

Subscribe and Follow

Subscribe to my Youtube channel.

Follow me on Twitter

Thanks for reading/watching and stay safe

Discussion (1)

Editor guide
kevinletchford profile image
Kevin Letchford

CSS import is generally not the most performant way of adding multiple CSS files: