Team:NYMU-Taipei/gallery.css
From 2014.igem.org
(Difference between revisions)
m |
m |
||
Line 7: | Line 7: | ||
white-space: nowrap; | white-space: nowrap; | ||
overflow:hidden; | overflow:hidden; | ||
+ | position:relative; | ||
} | } | ||
Line 22: | Line 23: | ||
height: 100%; | height: 100%; | ||
width: 100%; | width: 100%; | ||
+ | } | ||
+ | |||
+ | #g-left{ | ||
+ | width: 40px; | ||
+ | height: 40px; | ||
+ | position: absolute; | ||
+ | background: gray; | ||
+ | right: 0; | ||
+ | top: 45%; | ||
} | } |
Revision as of 18:03, 30 July 2014
.main-img{
height: 360px; width: 660px; border: solid 1px; margin: 10px auto; white-space: nowrap; overflow:hidden; position:relative;
}
.g-thumb{
text-align:center;
}
.g-thumb>img{
width: 60px; height: 60px; margin: 5px auto;
}
.main-img>div{
height: 100%; width: 100%;
}
- g-left{
width: 40px; height: 40px; position: absolute; background: gray; right: 0; top: 45%;
}