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...")
Newer edit →
Revision as of 00:38, 27 September 2014
.SliderName_2 { float: left; width: 700px; height: 450px; overflow: hidden; }
.SliderNamePrev_2 { background: url(../img/left.png) no-repeat left center; width: 50px; height: 450px; display: block; position: absolute; top: 0; left: 0; text-decoration: none; }
.SliderNameNext_2 { background: url(../img/right.png) 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; }