Submitted by
samy13 on November 13, 2024
So basically I'm trying to do a custom SVG, on inkscape I made rectangles on a template and I want that when you guess the rectangle vanishs. But it doesn't vanish. I created the class row in inkscape, I put the correct names Step 2, and I put the code given in the guide in the description. What did I do wrong ?
< style >
.svg-holder .svg-correct {
opacity: 0;
visibility: hidden;
transition: all 0.5s;
}
< /style >
Just don't put the spaces between style and the triangle brackets. This should make correct answers vanish when they get the corresponding class added to them when they're correct.
Hopefully that helped!