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