Relative Content

Tag Archive for htmlsvg

Color animation is bugged svg

I have a problem because I am learning about svg and I have made a basic animation but I want to fill the second rectangle with a gradient. The colour of the second rectangle is always grey or black, no matter what colour I change to even I can type red directly and it will still be grey. Anyone know why this is happening?

How to italicize text in svg

I’m trying to add italic style to half of the text inside element in svg without modyfing position, but I can’t do it. For example I have text:

When zooming out of SVG the colors fade

I’ve been writing some math-visualisations using plain Javascript,HTML,CSS. I am working on the Fibonacci binary word fractal (see working example). In order to be able to see the ever growing image, I calculate the boundaries of the lines drawn and then adjust the image.