The box-shadow CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. Browser support is growing of late with Mozilla (Firefox), Webkit (Safari/Chrome/Konqueror), Opera and the IE9 Platform Preview all offering a decent implementation of the spec, although Mozilla and Webkit still require their respective -moz- and -webkit- prefixes (note Mozilla Firefox 4.0+ no longer requires the -moz- prefix). Devsocial.net offers free online tutorials, references and free SEO Tools the world wide web design library.
:hover
- box-shadow: 10px 10px 5px #888;<style>
#div-id-or-class{
-moz-box-shadow: 10px 10px 5px #888;
-webkit-box-shadow: 10px 10px 5px #888;
box-shadow: 10px 10px 5px #888;
width:250px;
height:100px;
}
#div-id-or-class:hover
{
-moz-box-shadow: 10px 10px 5px #09f;
-webkit-box-shadow: 10px 10px 5px #09f;
box-shadow: 10px 10px 5px #09f;}
/* This is the Hover Effect with color #09f - Provided by https://www.Devsocial.net &
WebMaster Ramon Sanchez */
</style>
Capable:
Note: Make sure your page contains a valid doctype for this menu to render properly.
Revision History: Nov 8th, 2023': updated code..
Usage Terms: | Please Read - -> >
Viewed: 54,811
Share our library with others. Spread the love. Share:
Was this article & Examples Helpful ?
If so you can help us bring this and more to become available for you at anytime. You can help us by donating any amount or Sharing & Following Us. Donate through PayPal.
More useful links: