Ser Archer (Talk | contribs) |
Ser Archer (Talk | contribs) |
||
Line 75: | Line 75: | ||
{ | { | ||
position: absolute; | position: absolute; | ||
− | top: | + | top: 380px; |
width: 6%; | width: 6%; | ||
height: 300px; | height: 300px; | ||
Line 88: | Line 88: | ||
top: 145px; | top: 145px; | ||
width:20%; | width:20%; | ||
− | + | height:1000px; | |
background: url(https://static.igem.org/mediawiki/2018/4/41/T--CPU_CHINA--background-carriage.png); | background: url(https://static.igem.org/mediawiki/2018/4/41/T--CPU_CHINA--background-carriage.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 163: | Line 163: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | + | $(".whole-carriage").css("animation","mymove 7s"); | |
− | + | $(".whole-carriage").css("-webkit-animation","mymove 7s"); | |
− | + | var e = document.getElementById("whole-carriage"); | |
− | + | e.addEventListener("animationend", function() { | |
− | + | $("#whole-carriage").hide(); | |
− | + | $("#home-video").show(); | |
$("#words").show(); | $("#words").show(); | ||
− | + | }); | |
}) | }) | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 15:55, 6 November 2018