Skip to content

Instantly share code, notes, and snippets.

@Fastidious
Forked from mystix/border-glow.css
Created February 16, 2017 11:35
Show Gist options
  • Save Fastidious/35ed8a6688f6d9bb8baec4c7a497b49e to your computer and use it in GitHub Desktop.
Save Fastidious/35ed8a6688f6d9bb8baec4c7a497b49e to your computer and use it in GitHub Desktop.
CSS Glow Effect
a:hover {
/* border glow effect on hover */
box-shadow: 0px 0px 20px #000;
filter:progid:DXImageTransform.Microsoft.Glow(Color=black,Strength=20);
}
a:hover {
/* glow effect on hover */
text-shadow: -1px 1px 20px #ffc, 1px -1px 20px #fff;
-webkit-transition: text-shadow 250ms linear 0s;
-moz-transition: text-shadow 250ms linear 0s;
-o-transition: text-shadow 250ms linear 0s;
transition: text-shadow 250ms linear 0s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment