The currentColor uses the current text color value.
It works something like this :
p {
color: red;
border: 5px solid currentColor;
box-shadow: 0 0 5px solid currentColor;
}
You can use this value for other properties that accept color values like border, box-shadow, outline, background-color, and so on.
Leave a Reply