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 Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs