Team:UESTC/pop.css
From 2013.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
position: relative; | position: relative; | ||
top: 0px; | top: 0px; | ||
- | left: | + | left: 150px; |
display: block; } | display: block; } | ||
.pop .pop_menu { | .pop .pop_menu { | ||
Line 13: | Line 13: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center center; | background-position: center center; | ||
- | width: | + | width: 29px; |
height: 14px; | height: 14px; | ||
overflow: hidden; | overflow: hidden; |
Revision as of 14:57, 26 August 2013
.pop {
width:20px; position: relative; top: 0px; left: 150px; display: block; } .pop .pop_menu { display: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; } .pop .pop_toggle { background-image: url(); background-repeat: no-repeat; background-position: center center; width: 29px; height: 14px; overflow: hidden; cursor: pointer; }
.active .pop_menu {
display: block; background-color: #F594A2; color: #fff; position: absolute; padding: .6em; width: 12em; } .active .pop_menu a { color: #fff; }
.active .pop_toggle {
z-index: 2000; position: absolute; top: 0; left: 0; background-image: url(); }