<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>天气情况公告</title>
<style>
*{
margin: 0;
padding: 0;
}
.marquee {
width: 100%;
height: 50px;
align-items: center;
color: #3A3A3A;
background-color: #f5f5f5;
display: flex;
box-sizing: border-box;
}
.marquee_title {
padding: 0 20px;
height: 30px;
line-height: 30px;
font-size: 14px;
font-weight: bold;
border-right: 1px solid #d8d8d8;
align-items: center;
}
.marquee_box {
display: block;
position: relative;
width: 60%;
height: 30px;
overflow: hidden;
}
.marquee_list {
display: block;
position: absolute;
top: 0;
l
Vue实现天气预报无缝滚动
最新推荐文章于 2024-03-15 16:34:02 发布