ThomasStarck (Talk | contribs) |
ThomasStarck (Talk | contribs) |
||
Line 59: | Line 59: | ||
} | } | ||
#Calque_1{ | #Calque_1{ | ||
+ | position: fixed; | ||
background-color: red; | background-color: red; | ||
margin-top: 80px; | margin-top: 80px; | ||
left: 0px; | left: 0px; | ||
+ | transition: left 1s; | ||
} | } | ||
body { | body { | ||
Line 77: | Line 79: | ||
$(document).ready(maFonctionDeTest()); | $(document).ready(maFonctionDeTest()); | ||
function maFonctionDeTest(){ | function maFonctionDeTest(){ | ||
− | $("#Calque_1").css(" | + | $("#Calque_1").css("left","100px"); |
} | } | ||
</script> | </script> |
Revision as of 14:39, 3 September 2018