-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhello.html
53 lines (49 loc) · 1.58 KB
/
hello.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
<!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>Hello Rotate box!</title>
<style>
.container {
display: flex;
flex-wrap: wrap;
}
.div-item {
border: 2px dashed skyblue;
width: 200px;
height: 200px;
background-color: burlywood;
margin: 10px;
transition: all 0.85s ease-in;
}
.div-item:hover {
background-image: linear-gradient(to right, rgb(157, 160, 138), cyan);
transform: rotate(234deg);
}
.red-box {
background-image: radial-gradient(rgb(67, 96, 65), rgb(70, 13, 10));
}
.blue-box {
background-image: radial-gradient(rgb(92, 96, 65), cyan);
}
</style>
</head>
<body>
<div class="container">
<div class="div-item red-box">This is a div</div>
<div class="div-item blue-box">This is a div</div>
<div class="div-item red-box">This is a div</div>
<div class="div-item">This is a div</div>
<div class="div-item red-box">This is a div</div>
<div class="div-item blue-box">This is a div</div>
<div class="div-item red-box">This is a div</div>
<div class="div-item">This is a div</div>
<div class="div-item red-box">This is a div</div>
<div class="div-item">This is a div</div>
<div class="div-item red-box">This is a div</div>
<div class="div-item blue-box">This is a div</div>
</div>
</body>
</html>