DEV Community

Cover image for Some small Css tips #015
Stephan Nijman
Stephan Nijman

Posted on • Originally published at since1979.dev

Some small Css tips #015

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

Unit less custom properties.


Position sticky for more then just navigations.



Css position docs: https://developer.mozilla.org/en-US/docs/Web/CSS/position

Css background-clip.



Background-clip docs: https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip

Limit number of text lines.



Css-tricks almanac: https://css-tricks.com/almanac/properties/l/line-clamp/

Subscribe and Follow

Subscribe to my Youtube channel.

Follow me on Twitter

Thanks for reading/watching and stay safe

Discussion (0)