2016/02/02 slicebox(css部分)

.shadow{
width:100%;
height: 168px;
position: relative;
margin-top: -110px;
background: transparent url(../images/shadow.png) no-repeat bottom center;
background-size: 100% 100%;
z-index: -1;
display: none;
}
.sb-description{
font-size: 20px;
text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
.sb-description h3 a{
color: #4a3c27;
text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}
.nav-arrows{
display: none;
}
.nav-arrows a{
width:42px ;
height: 42px;
background: #cbbfae url(../images/nav.png) no-repeat top left;
position: relative;
top:50%;
left: 2px;
text-indent: -9000px;
cursor: pointer;
margin-top: -21px;
opacity: 0.9;
border-radius: 50%;
box-shadow: 0 1px 1px rgba(255,255,255,0.8);
}
.nav-arrows a:first-child{
left: auto;
right: 2px;
background-position: top right;
}
.nav-arrows a:hover{
opacity: 1;
}
.nav-dots{
text-align: center;
position: absolute;
bottom: -5px;
height: 30px;
width: 100%;
left: 0;
display: none;
}
.nav-dots span{
display: inline-block;
width: 16px;
height: 16px;
border-radius: 50%;
margin: 3px;
background: #cbbfae;
cursor: pointer;
box-shadow: 0 1px 1px rgba(255,255,255,0.6),
inset 0 1px 1px rgba(0,0,0,0.1);
}
.nav-dots span.nav-dots-current{
box-shadow:
0 1px 1px rgba(255,255,255,0.6),
inset 0 1px 1px rgba(0,0,0,0.1),
inset 0 0 0 3px #cbbfae,
inset 0 0 0 8px #fff;
}
.nav-options{
width: 70px;
height: 30px;
position: absolute;;
right: 70px;
bottom:0;
display: none;
}
.nav-options span{
width: 30px;
height: 30px;
background: #cbbfae url(../images/options.png) no-repeat top left;
text-indent:-9000px ;
opacity: 0.7;
display: inline-block;
border-radius: 50%;
}
.nav-options span:first-child{
background-position: -30px 0;
margin-right: 3px;
}
.nav-options span:hover{
opacity: 1;
}

/*********************demo.css****************************/

*,
*:after
*:before{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
.clearfix:after{
content: "";
display: table;
clear: both;
}
body{
background: #e4ebe9 url(../images/fancy_deboss.png) repeat top left;
color: #444;
font-size: 13px;
font-weight: 400;
font-family: "PT Sans Narrow", Arial, sans-serif;
-webkit-font-smothing:antialiased;
overflow-x: hidden;
min-width: 320px;
}
a{
color: #000;
text-decoration: none;
}
h1,h2,h5{
margin: 20px 20px 30px 20px;
font-size: 56px;
color: #fff;
font-family: "Volkhov", serif;
text-align: center;
font-weight: 700;
text-shadow: 1px 1px 3px #e0d1bc;
}
h1 span,h5{
font-size: ;
display: block;
font-style: italic;
color: #997f5a;
font-weight: 400;
text-shadow: 0px 1px 1px #fff;
}
.wrapper{
position: relative;
max-width: 840px;
width: 100%;
padding: 0 50px;
margin: 0 auto;
}
.codorps-top{
line-height: 24px;
font-size: 11px;
background: #fff;
background: rgba(255,255,255,0.8);
text-transform: uppercase;
z-index: 9999;
position: relative;
font-family: Cambria, Georgia, serif;
box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.codorps-top a{
padding: 0px 10px;
letter-spacing: 1px;
color: #333;
display: none;
}
.codorps-top a:hover{
background: rgba(255,255,255,0.6);
}
.codorps-top span.right{
float: right;
}
.codorps-top span.right a{
float: left;
display: block;
}
.more{
position: relative;
clear: both;
padding: 20px;
}
.more:before{
content: "";
position: relative;
background-color: #ddd1b6;
box-shadow: 0 1px 0 rgba(255,255,255,0.8);
height: 1px;
width: 440px;
left: 50%;
margin-left: -220px;
top: -10px;
}
.more ul{
display: block;
height: 32px;
text-align: center;
}
.more ul li{
display: inline-block;
line-height: 24px;
}
.more ul li.selected a,
.more ul li.selected a:hover{
background: #ae997a;
color: #ffffff;
text-shadow: none;
}
.more ul li a{
text-shadow: 1px 1px 1px #fff;
background: #555;
color: #fbf9f5;
padding: 2px 5px ;
margin: 0 2px;
line-height: 18px;
display: inline-block;
box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.more ul li a:hover{
background: #8c795d;
color: #fff;
text-shadow: none;
}
p.info{
font-family: "Volkhov", serif;
font-style: italic;
color: #997f5a;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
padding: 20px;
display: block;
clear: both;
width: 100%;
max-width:440px ;
margin:0 auto;
}

/*********************slicebox.css*********************/

.sb-slider{
margin: 10px auto;
position: relative;
overflow: hidden;
width: 100%;
list-style-type: none;
padding: 0;
}
.sb-slider li{
margin: 0;
padding: 0;
display: none;
}
.sb-slider li > a {
outline: none;
}
.sb-slider li > a img{
border: none;
}
.sb-slider img{
max-width: 100%;
display: block;
}
.sb-description{
padding: 20px;
bottom: 10px;
left: 10px;
right: 10px;
z-index: 1000;
position: absolute;
background: #cbbfae;
background: rgba(190,176,155, 0.4);
border-left: 4px solid rgba(255,255,255,0.7);
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
opacity: 0;
color: #fff;
-webkit-transition:all 200ms;
-moz-transition:all 200ms;
-o-transition:all 200ms;
-ms-transition:all 200ms;
transition:all 200ms;
}
.sb-slider li.sb-current.sb-description{
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)";
filter:alpha(opacity = 80);
opacity:1;
}
.sb-slider li.sb-current.sb-description:hover{
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=99)";
filter: alpha(opacity=99);
background: rgba(190,176,155, 0.7);
}
.sb-perspective{
position: relative;
}
.sb-perspective > div{
position: absolute;
-webkit-transform-style:preserve-3d;
-moz-transform-style:preserve-3d;
-o-transform-style:preserve-3d;
-ms-transform-style:preserve-3d;
transform-style:preserve-3d;

-webkit-backface-visiblity:hidden;
-moz-backface-visiblity:hidden;
-o-backface-visiblity:hidden;
-ms-backface-visiblity:hidden;
backface-visiblity:hidden;
}
.sb-side{
margin: 0;
display: block;
position:absolute;

-moz-backface-visiblity:hidden;

-webkit-transform-style:preserve-3d;
-moz-transform-style:preserve-3d;
-o-transform-style:preserve-3d;
-ms-transform-style:preserve-3d;
}

转载于:https://www.cnblogs.com/whatcanido/p/5178483.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值