DEV Community

Aya Bouchiha
Aya Bouchiha

Posted on

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!

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 😉