-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi.html
56 lines (51 loc) · 1.23 KB
/
i.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LED显示屏文字滚动</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
}
#pmp {
height: 100%;
width: 100%;
font-family: "微软雅黑";
font-size: 140px;
color: #FF0000;
text-decoration: none;
display: flex;
align-items: center;
height: 100vh;
width: 100vw;
border: 5px ridge #999;
background-color: #222;
padding-top: 8px;
padding-right: 5px;
padding-left: 5px;
}
/*
marquee {
transform: rotate(90deg);
} */
</style>
</head>
<body>
<div id="pmp">
<marquee scrollamount="3" scrolldelay="30" direction="left" onmouseover="this.stop()" onmouseout="this.start()">
热烈欢迎市领导来我公司指导工作
</marquee>
</div>
<script>
function lockScreenOrientation() {
if (screen.orientation) {
screen.orientation.lock('landscape');
} else {
console.error('Screen orientation API not supported');
}
}
</script>
</body>
</html>