效果图展示:



源码代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=`, initial-scale=1.0">
<title>2023 新年快乐</title>
<style>
.box {
width: 1200px;
height: 600px;
margin: 20px auto;
font-size: 60px;
font-weight: bold;
font-family:'Kaiti';
color: red;
text-align: center;
}
.box img {
margin-top: 20px;
}
</style>
<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="js/jquery.fireworks.js"></script>
</head>
<body>
<div class="demo">
<div class="box">
2023 新年快乐!
<img src="https://img0.baidu.com/it/u=435004988,364269512&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=233" alt=""
style="width: 100%; height: 100%;">
</div>
</div>
<script>
$('.demo').fireworks({
sound: true,
opacity: 0.9,
width: '100%',
height: '100%'
});
</script>
</body>
</html>