|
<! DOCTYPE html> |
|
|
|
|
|
<meta charset= "UTF-8" > |
|
<title></title> |
|
<style> |
|
|
|
* { |
|
margin:0; |
|
padding:0; |
|
} |
|
|
|
Body { |
|
Background-color:moccasin; |
|
} |
|
|
|
. list { |
|
List-style:none; |
|
width:900px; |
|
margin:100px Auto; |
|
Background-color:powderblue; |
|
} |
|
|
|
. list Li { |
|
Float:left; |
|
PADDING:4PX 0; |
|
Margin:0 18px; |
|
width:160px; |
|
line-height:48px; |
|
Text-align:center; |
|
|
|
} |
|
|
|
. List A { |
|
Display:block; |
|
Color: #000; |
|
Text-decoration:none; |
|
font-size:30px; |
|
position:relative; |
|
} |
|
|
|
. List span { |
|
Display:block; |
|
width:100%; |
|
|
|
} |
|
|
|
. List Span:after { |
|
Position:absolute; |
|
left:50%; |
|
right:50%; |
|
bottom:0; |
|
Content: ""; |
|
Display:block; |
|
Transition:. 65s; |
|
Border-bottom:solid 2px Transparent; |
|
|
|
} |
|
|
|
. list A:hover Span:after { |
|
left:0; |
|
right:0; |
|
Border-bottom:solid 2px Deeppink; |
|
} |
|
|
|
. Clearfix:after,. Clearfix:before { |
|
Content: ""; |
|
display:table; |
|
} |
|
|
|
. clearfix:after { |
|
Clear:both; |
|
} |
|
|
|
. clearfix { |
|
*zoom:1; |
|
} |
|
|
|
</style> |
|
|
|
<body> |
|
<ul class= "list Clearfix" > |
| &NBSP; |
<li><a href=" # "class=" title_a move" ><span class= " t_title "> Home </span> </a></li> |
| &NBSP; |
<li><a href=" # "class=" title_a move" ><span class= " t_title "> Home Service </span> </a></li> |
| &NBSP; |
<li><a href=" # "class=" title_a move" ><span class= " t_title "> Enterprise Services </span> </a></li> |
|
<li><a href= "#" class= "title_a move" ><span class= "t_title" > Storage services </span></a></li> |
|
</ul> |
|
|
|
</body> |
|
|
Navigation bar effects for your own use only