Skip to content

Instantly share code, notes, and snippets.

@TweededBadger
Last active April 18, 2023 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TweededBadger/98dc9a003f5bee9733a4 to your computer and use it in GitHub Desktop.
Save TweededBadger/98dc9a003f5bee9733a4 to your computer and use it in GitHub Desktop.
svg .state {
stroke-width: 2;
stroke: #fff;
-webkit-transition: stroke 0.5s, stroke-width 0.5s;
-o-transition: stroke 0.5s, stroke-width 0.5s;
transition: stroke 0.5s, stroke-width 0.5s;
}
svg .state:hover , .state.active {
cursor: pointer;
stroke-width: 4;
stroke: #000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment