幻燈片箱
<style type="text/css">
bodyshow {
width: 980px;
margin-left: auto;
margin-right:auto;
font-family:"Myriad Pro", "Myriad Web", Myriad, Frutiger, Calibri, sans-serif, Arial Black, Gadget;
background: #545454;
background:-webkit-gradient(linear, left top, right bottom, from(#545454), color-stop(.5, #7e7e7e), to(#545454)) fixed;
background:-webkit-linear-gradient(45deg, #545454, #7e7e7e .5, #545454);
background:-moz-linear-gradient(45deg, #545454, #7e7e7e .5, #545454);
background:-o-linear-gradient(45deg, #545454, #7e7e7e .5, #545454);
}
section {
display:block;
float:left;
min-height:450px;
width:100%;
}
section a {
display:block;
float:left;
width:20%;
text-decoration:none;
text-align:center;
padding:5px 0;
color:#a9a9a9;
background:#d7d7d7;
font-weight:bold;
font-size: 22px;
border-top:5px solid #999;
border-bottom:5px solid #999
}
section div {
display:block;
float:left;
height:150px;
width:205px;
border:10px solid #999;
margin:10px;
-webkit-transition:all .85s linear;
-moz-transition:all .85s linear;
-o-transition:all .85s linear;
-ms-transition:all .85s linear;
transition:all .85s linear;
margin-top:20px;
}
section div[class="web"] {
background:url(http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/p111.jpg);
}
section div[class="graphic"] {
background:url(http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/p222.jpg);
}
section div[class="music"] {
background:url(http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/p333.jpg);
}
section a:focus[class] {
background: #ebebeb;
outline:none;
}
a[class="web"]:focus ~ div:not([class="web"]) {
height:0px;
width:0px;
border:none;
margin:0;
display:none;
}
a[class="graphic"]:focus ~ div:not([class="graphic"]) {
height:0px;
width:0px;
border:none;
margin:0;
display:none;
}
a[class="music"]:focus ~ div:not([class="music"]) {
height:0px;
width:0px;
border:none;
margin:0;
display:none;
}
a[class="four"]:focus ~ div:not([class="four"]) {
height:0px;
width:0px;
border:none;
margin:0;
display:none;
}
</style>
<bodyshow>
<section>
<a href="javascript:void(0)" class="all" tabindex="-1">All</a>
<a href="javascript:void(0)" class="web" tabindex="-1">分類1</a>
<a href="javascript:void(0)" class="graphic" tabindex="-1">分類2</a>
<a href="javascript:void(0)" class="music" tabindex="-1">分類3</a>
<a href="javascript:void(0)" class="four" tabindex="-1">分類4</a>
<div class="web"><img onclick="window.open('http://we868.com', '_blank')" src="http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/14.jpg" /></div>
<div class="music"><img src="http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/26.jpg" /></div>
<div class="graphic"><img src="http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/30.jpg" /></div>
<div class="web"><img src="http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/31.jpg" /></div>
<div class="music"><img src="http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/32.jpg" /></div>
<div class="graphic"><img src="http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/33.jpg" /></div>
<div class="four"><img src="http://dl.dropbox.com/u/12167425/MENU/member1003/bodyshow/34.jpg" /></div>
</section>
</bodyshow>
訂閱:
意見 (Atom)
沒有留言:
張貼留言