时间对象
(截图时间:2022.9.30~)
新年倒计时
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
* {
margin: 0;
padding: 0;
color: white;
}
body {
//背景图片地址
background-image: url(./img/1.jpg);
display: flex;
justify-content: center;
flex-wrap: wrap;
}
div {
width: 500px;
height: 300px;
border: 2px solid white;
margin-top: 250px