Some small css tips #002

Some small css tips #002

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

Check color contrast in Firefox


Create triangles with css clip-path

Text version is here: gist.github.com/vanaf1979/b8c511e1ef1b638c3..


:first-child, :last-child and :nth-of-type selectors

Here's a text version: gist.github.com/vanaf1979/c920cc3e365a6142f..


:nth-of-type

Text version is here: gist.github.com/vanaf1979/adcdfd1991818f3e0..


Focus state.


Check browser support

A live Codesandbox is here: codesandbox.io/s/css-supports-tip-qz4xy?fil..

Want more of this?

If you would like to have these tips, and other stuff, in your twitter timeline come and follow me @Vanaf1979. If you just want the gist you can follow me here on hashnde as well. Or you could check out my blog at Sinse1979.dev

Thanks for reading and stay safe.