How to use the currentColor value in CSS

Daniel Nastase / filed under HTML & CSS

In CSS we have a special color value named currentColor that maybe be unknown to most people. What currentColor does is to take the value for the color property and use it for any other property there has a color parameter. For example the following:

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency