M
M
Maxim Gerasimenko2020-10-23 15:27:52
css
Maxim Gerasimenko, 2020-10-23 15:27:52

How to change SVG color with CSS?

There is such an animated checkmark made in SVG and CSS:
https://jsfiddle.net/sqey1dth/
We need to change the green color to blue.
I'm trying to change the color through CSS, but the color does not change.
Help to understand please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-10-23
@maxg5

.checkmark__circle {
  stroke: ЦВЕТ;
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px ЦВЕТ;
  }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question