-
Notifications
You must be signed in to change notification settings - Fork 1
/
TRANSFORM.html
50 lines (44 loc) · 1.1 KB
/
TRANSFORM.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TRANSFORM</title>
</head>
<style>
.container{
display: flex;
align-items: center;
justify-content: center;
height: 80vh;
}
.box{
background:linear-gradient(315deg,#89ff00,#00bcd4);
height: 400px;
width: 400px;
border-radius: 30px;
display: flex;
align-items: center;
justify-content: center;
margin: auto;
border:2px solid black;
transform: rotate(45deg);
transition: all 0.2s ease-in-out;
}
.box:hover{
transform:rotate(360deg);
/* transform: skew(40deg); */
/* transform: scale(2); */
/* transform: translateX(123px); */
/* transform: translateY(123px); */
/* transform: translate(300px ,123px); */
}
</style>
<body>
<div class="container">
<div class="box">
<h1>ABHISHEK NAYAK</h1>
</div>
</div>
</body>
</html>