currentColor in CSS

currentColor in CSS

currentColor acts like a variable for the current value of the color property on the element.

//Html

<div>Hello from currentColor</div>

//css

div {    color: blue;    
  border: 5px solid currentColor;    
 box-shadow: 0 0 5px solid currentColor; }

Happy Coding… πŸ‘πŸ‘

Β