萬盛學電腦網

 萬盛學電腦網 >> 網頁制作 >> DivCSS教程 >> div css實現銀灰色動畫效果的方法

div css實現銀灰色動畫效果的方法

歡迎大家在這裡學習div css實現銀灰色動畫效果!下面是我們給大家整理出來的精彩內容。希望大家在這裡學習!

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>CSS3動畫效果的導航菜單</title>
<style>
*{
margin:0;
padding:0;
}
html{
background:url('images/bg_tile.jpg') #333d43;
}
body{
background:url('images/bg_head.jpg') repeat-x top center, url('images/bg_vert.jpg') repeat-x;
min-height:500px;
font:14px/1.3 'Segoe UI',Arial, sans-serif;
color:#888;
padding:10px;
}
.fancyNav{
overflow: hidden;
display: inline-block;
}
.fancyNav li{
background-color: #f0f0f0;
background-image: -webkit-gradient(linear,left top, left bottom,from(#fefefe), color-stop(0.5,#f0f0f0), color-stop(0.51, #e6e6e6));
background-image: -moz-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
background-image: -o-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
background-image: -ms-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
background-image: linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
border-right: 1px solid rgba(9, 9, 9, 0.125);
box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
-moz-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
-webkit-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
position:relative;
float: left;
list-style: none;
}
.fancyNav li:after{
content:'.';
text-indent:-9999px;
overflow:hidden;
position:absolute;
width:100%;

copyright © 萬盛學電腦網 all rights reserved