Template:Team:KIT-Kyoto/mobile
From 2014.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
$(".ac_active label").click(function(){ | $(".ac_active label").click(function(){ | ||
$(".ac").animate({'height':'auto'},'slow','swing'); | $(".ac").animate({'height':'auto'},'slow','swing'); | ||
- | $(". | + | $(".ac_active label::after").css({'margin-top':'-3px','-webkit-transform':'rotate(-45deg)','transform':'rotate(-45deg)'}); |
}); | }); | ||
}); | }); | ||
Line 92: | Line 92: | ||
z-index:10; | z-index:10; | ||
} | } | ||
- | . | + | .ac_active label { |
position: relative; | position: relative; | ||
display: block; | display: block; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
- | . | + | .ac_active label::after { |
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; |
Revision as of 18:27, 21 September 2014