Skip to content

Instantly share code, notes, and snippets.

@mystix
Last active March 17, 2019 18:03
Show Gist options
  • Select an option

  • Save mystix/5704487 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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