Team:Peking/test/css/sliderman.css
From 2014.igem.org
(Created page with ".SliderName_2 { float: left; width: 700px; height: 450px; overflow: hidden; } .SliderNamePrev_2 { background: url(../img/left.png) no-repeat left center; width: 50px; hei...") |
|||
Line 7: | Line 7: | ||
.SliderNamePrev_2 { | .SliderNamePrev_2 { | ||
- | background: url(../ | + | background: url(https://static.igem.org/mediawiki/2014/4/44/Peking2014wcg_left.png) no-repeat left center; |
width: 50px; | width: 50px; | ||
height: 450px; | height: 450px; | ||
Line 18: | Line 18: | ||
.SliderNameNext_2 { | .SliderNameNext_2 { | ||
- | background: url(../ | + | background: url(https://static.igem.org/mediawiki/2014/3/36/Peking2014wcg_right.jpg) no-repeat right center; |
width: 50px; | width: 50px; | ||
height: 450px; | height: 450px; |
Latest revision as of 16:37, 12 October 2014
.SliderName_2 { float: left; width: 700px; height: 450px; overflow: hidden; }
.SliderNamePrev_2 { background: url() no-repeat left center; width: 50px; height: 450px; display: block; position: absolute; top: 0; left: 0; text-decoration: none; }
.SliderNameNext_2 { background: url() no-repeat right center; width: 50px; height: 450px; display: block; position: absolute; top: 0; right: 0; text-decoration: none; }
.SliderName_2Description { padding: 10px; font-family: Tahoma,Arial,Helvetica; font-size: 14px; line-height: 30px; letter-spacing: 1px; text-align: center; color: #ffffff; text-shadow: 0 1px 3px #000000; border-bottom-left-radius: 15px; background-color: rgba(0,0,0,0.5);/*前三个参数为rgb颜色,第四个参数为透明度*/ border-bottom-right-radius: 15px; }