DEV Community

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

Posted on • Originally published at since1979.dev

12 4

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

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay