I want to use the color my color property gets from inheriting color in my background-color property.
.myclass {
color: "inherit";
background-color: {{somehow get value of color from color property}};
}
You can use
.myclass {
color: "inherit";
background-color: currentColor;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With