DEV Community

loading...
Cover image for Some small Css tips #015

Some small Css tips #015

vanaf1979 profile image Stephan Nijman Originally published at since1979.dev ・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.

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)

pic
Editor guide