码迷,mamicode.com
首页 > Web开发 > 详细

css3

时间:2016-07-25 00:09:40      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:

body {
    background-color:#CCE5FF;
}

span {
    color: red;
}

.logo {
    font-family: Georgia;
    font-size: 37px;
    letter-spacing: 3px;
    line-height: 1;
    padding-left: 2px;
    text-decoration: none;
}

.top {
    height: 50px;
    line-height: 0px;
    overflow: hidden;
    padding-top: 20px;
    position: relative;
    z-index: 1;
    animation-name: change;
    animation-duration: 4s;
}

@keyframes change {
    0%   {background-color: #E0E0E0;}
    25%  {background-color: #C0C0C0;}
    50%  {background-color: #A0A0A0;}
    100% {background-color: #808080;}
}

.nav {
    background-color: #5f5f5f;
    color: #f1f1f1;
    font-size: 20px;
    letter-spacing: 1px;
    position: relative;
    width: 99.8%;
    margin:0,10,0,10;
    overflow:hidden;
    padding:5;
}

.wrapper {
    overflow: auto;
    position: relative;
    overflow:hidden;
}

.logoRight {
    float: right;
    font-size:15px;
}

.home {
       position: relative;
    width: 100%;
    height: 370px;
    overflow: hidden;
    animation-name: move;
    animation-duration: 4s;
}

/* Standard syntax */
@keyframes move {
    0%   {background-color:grey; left:0px; top:0px;}
    25%  {background-color:grey; left:200px; top:0px;}
    50%  {background-color:grey; left:100px; top:0px;}
    75%  {background-color:grey; left:50px; top:0px;}
    100% {background-color:grey; left:0px; top:0px;}
}

.indexImg {
    width:33%;
    opacity: 0.8;
    height:350px;
}

.indexImg:hover {
    background-position: bottom center;
    transition: background-position 1s ease;
}

.alink {
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
 }
 
 .active {
      color: Red;
      padding: 14px 25px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
 }

.indexImg:hover {
     border: 1px solid #777;
     opacity: 1.0;
}


.album {
        position: relative;
        margin: 5px;
    float: left;
    padding:15px;
    height:135px;
    width: 125px;
    text-align:center;
    opacity:0.8;
}

.album:hover {
        background:#666;
        opacity:1.0;
        transform: scale(1.2);
}

.textFloat {
     position:absolute;
     left:60px;
     bottom:0;
     color:#FF0000;
     font-weight:bold;
}
            

.content {
    width:90%;
    height:370px;
    margin-left:auto;
    margin-right:auto;"
}


.movie {
    float: left;
      width: 47%;
      padding:15px;
      height:150px;
}

.bottom {
    background-color: #C0C0C0;
    font-size: 100%;
    line-height: 14px;
    padding: 10px;
    width:98%;
    text-align: center;
}

table {
    border-collapse: collapse;
    width: 99.8%;
    height:350px;
}

th, td {
        border-bottom: 1px solid #ddd;
        text-align: center;
}

tr:nth-child(even){background-color: #f2f2f2}

tr:hover {
    background-color: #99FFFF
}

.fixbar{
    overflow-x:auto;
}

th {
    background-color: #4CAF50;
    color: white;

}

a.alink:hover, a.alink:active{
         background-color: red;
    text-decoration: none;
}

ul {
        list-style-image: url(‘../img/movie1.jpg‘);
    list-style-position: inside;
}

ul li {
    background: #cce5ff;
}

ul li:hover {
        color: red;
        cursor:pointer;
}

h2 {
    font: italic bold 12px/30px Georgia, serif;
    color: grey;
}

css3

标签:

原文地址:http://www.cnblogs.com/luaicun/p/5701809.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!