DEV Community

Aya Bouchiha
Aya Bouchiha

Posted on

11 5

5 cool CSS properties (part 1)

Hi, I'm Aya Bouchiha, and this is part 1 of some cool CSS properties.

caret-color

  • caret-color: used to change the cursor of editable elements like input fields.

clip-path

  • clip-path: used to hide a specific area of an element and build complex shapes like the octagon.

resources to learn about clip-path

content

  • content: used with :before & :after for adding a generated content w

pointer-events

  • pointer-events: specify that the user could react to pointer events or not.

resize

  • resize: specify if an element is resizable or not.

Summary

  • clip-path: used to hide a specific area of an element and build complex shapes like the octagon.
  • resize: specify if an element is resizable or not.
  • pointer-events: specify that the user could react to pointer events or not.
  • content: used with :before & :after for adding a generated content.
  • caret-color: used to change the cursor of editable elements like input fields.

Reference

Suggested Posts

Have an amazing day!

Please leave your appreciation by commenting on this post!

It takes one minute and is worth it for your career.

Join now

Top comments (5)

Collapse
 
thomasbnt profile image
Thomas Bnt

Please avoid titles like this 😔

Collapse
 
ayabouchiha profile image
Aya Bouchiha

I don't know why should I avoid them, could you suggest to me a good title, please?
Thank you for your feedback and have a great day!

Collapse
 
thomasbnt profile image
Thomas Bnt

The titles in capital letters, it looks aggressive and then imagine the platform filled only with that.

Thread Thread
 
ayabouchiha profile image
Aya Bouchiha

The title is changed successfully, I appreciate your feedback a lot 😊

Thread Thread
 
thomasbnt profile image
Thomas Bnt

Thank you for understanding me, have a nice day 😉

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay