jquery卷帘字体变色
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
</head>
<body>
<button>点击</button>
<p>点击效果</p>
<script src="js/jquery-3.4.1.js"></script>
<script>
$("button").eq(0).click(function(){
$("p").css("color","red").slideUp(2000).slideDown(2000);
});
</script>
</body>
</html>