... an interactive SVG

Description

We can use CSS events and animations to interact with any SVG.

Tools

Material

How to

1. Make any SVG

Vector

2. Open the SVG in Atom

Atom

3. Copy and paste the SVG code to a basic HTML template

HTML

4. Use CSS to re-style it

Move the SVG specific style to your stylesheet (pink) and use CSS :hover to change any property on mouseover (blue).

CSS

5. Voila

Open the HTML file in your browser. Browser

Edit this page on GitHub Updated at Mon, Jun 14, 2021