Quantcast
Channel: Ru.Board
Viewing all articles
Browse latest Browse all 1049550

Вопросы по CSS (1227) / придерживаемся спецификации и т.п.

$
0
0
vs6262:
[more]
Код:
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$(".btn1").click(function(){
$("p").fadeOut()
});
$(".btn2").click(function(){
$("p").fadeIn();
});
});
</script>
</head>
<body>

<p>This is a paragraph.</p>

<button class="btn1">Fade out</button>
<button class="btn2">Fade in</button>

</body>
</html>
[/more]
сделал с по примеру выше fadeOut(2000); jQuery

#

Viewing all articles
Browse latest Browse all 1049550

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>