Skip to content

Instantly share code, notes, and snippets.

@mystix
Last active March 17, 2019 18:03
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mystix/5704487 to your computer and use it in GitHub Desktop.
Save mystix/5704487 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;
}
@lmj0011
Copy link

lmj0011 commented Jan 17, 2016

thanks, nice and simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment