svg { border:1px solid black; } circle { r: 5; fill:black; transition: r linear 0.25s, fill linear 0.25s; } circle:hover { r: 20; fill:blue; }