currentColor

Often forgotten about in CSS: The value of the ‘currentColor’ keyword is the computed value of the ‘color’ property.

.class-name {
  color: #bada55;
  border: 5px solid currentColor;
}
🛠️ with ❤️ by Ash Hitchcock © 2020 | Uses