DEV Community

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

Posted on • Originally published at since1979.dev

4 3

Some small Css tips #012

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

Css background image set.


Control touch interactions.


No pointer events.



Pointer-Events docs: https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events

Event Bubbling: https://javascript.info/bubbling-and-capturing


Slicing with Clip path.



Clip-path docs: https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path

Subscribe and Follow

Subscribe to my Youtube channel.

Follow me on Twitter

Thanks for reading/watching and stay safe

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (2)

Collapse
 
kritishd8 profile image
Obscure.

Clip-path in that button is so cool!

Collapse
 
vanaf1979 profile image
Stephan Nijman

Yeah. Its a pretty silly example, but you can probably come up with more creative use cases! 😀

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

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

Okay