9 dots in 3 rows & 3 columns fading from black to near transparent (1K)how to highlight a div tag using pure CSS

Learn how to highlight a div tag using pure CSS, no javascript, and validate your web page on the W3C validator

The HTML
<div id='highlight'>
<a href="#">
<span class='phead'>Your text here</span><br />
<span>Your text here</span>
</a>
</div>
The CSS
#highlight{
list-style-type: none;
margin: 0 0 10px 0;
padding: 0;
width: 100%;}

#highlight a{
display: block;
padding: 10px;
width: 99%;
background-color: #cfc;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border: 5px solid #090;
}

#highlight a:link{
text-decoration: none;
color: #000;
background-color: #cfc;
}

#highlight a:hover{
color: #000;
background-color: #8cd88c;
}

Web Design Your Business™

call 1-866-858-6387

email: webmaster from studio9_ws


Return

linkbtn01 (1K)

Al Toman
studio9 web design
436 Woodland Dr
Swansboro, NC 28584

1-919-341-4128
webmaster from studio9_ws