0
Can javascript make botton whichi is escaping when mosue overed?
Can javascript make botton whichi is escaping when mosue overed?
2 RĂ©ponses
+ 13
Yeah! jQuery does :
$(document).ready(function(){
$(".btn").click(function(){
$(".btn").fadeOut()
}); });
+ 3
And what JQuery can do, JS can also ^^
However, you can also handle it with only pure CSS :P
<footer>Some content</footer>
footer {
position:fixed;
bottom:0;
left:0;
width:100vw;
background:silver;
height:2em;
padding:1ex;
transition:bottom 1s;
}
footer:hover {
bottom:-3em;
}