-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTransform.html
More file actions
119 lines (109 loc) · 3.92 KB
/
Transform.html
File metadata and controls
119 lines (109 loc) · 3.92 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Transformation</title>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@1,300&display=swap" rel="stylesheet">
<style>
body {
background-color: black;
padding: 0px;
margin: 0px;
font-family: 'Ubuntu', sans-serif;
}
.container {
display: flex;
flex-wrap: wrap;
height: 800px;
width: vw;
/* border: 2px solid white; */
justify-content: center;
align-items: center;
}
#box {
/* display: flex;*/
color: rgb(219, 209, 209);
border: none;
margin: 60px;
height: 300px;
width: 250px;
border-radius: 15px;
transition: ease-in-out;
transition-duration: 1s;
/* transform: skew(20deg); */
box-shadow: 6px 4px 10px #9dad63;
}
#box p{
text-align: center;
}
#box:hover {
/* transform: skew(0deg); */
box-shadow: -6px 4px 10px #9dad63;
/* transform: translateX(40px); */
transform: scale(1.3);
border: 1px solid grey;
}
#box h3 {
margin-left: 90px;
flex-shrink: 100px;
}
.button {
cursor: pointer;
font-weight: bold;
border: none;
border-radius: 15px;
height: 30px;
display: block;
margin: auto;
margin-top: 35px;
background-color: #9dad63;
transition: ease-in-out;
transition-duration: 2s;
}
.button:hover {
background-color: rgb(204, 133, 133);
box-shadow: 3px 2px 8px rgb(151, 55, 79);
/* transform:rotateY(360deg); */
transform: scale(1.5);
}
@media (max-width: 1115px) {
.button:hover {
background-color: rgb(204, 133, 133);
box-shadow: 3px 2px 8px rgb(151, 55, 79);
transform: rotateY(360deg);
}
#box:hover {
box-shadow: -6px 4px 10px #9dad63;
transform: translateX(40px);
border: 1px solid grey;
}
}
</style>
</head>
<body>
<div class="container">
<div id="box">
<h3>Services</h3>
<p>Hacktober fest is a great platform to get swags. consectetur adipisicing elit. Vitae molestiae itaque accusantium, alias
suscipit hic optio dolor vero quaerat repellendus atque tenetur tempora obcaecati praesentium doloremque
excepturi autem aliquam aspernatur?</p>
<input type="button" class="button" value="Read More..">
</div>
<div id="box">
<h3>About</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae molestiae itaque accusantium, alias
suscipit hic optio dolor vero quaerat repellendus atque tenetur tempora obcaecati praesentium doloremque
excepturi autem aliquam aspernatur?</p>
<input type="button" class="button" value="Read More..">
</div>
<div id="box">
<h3>Contact</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae molestiae itaque accusantium, alias
suscipit hic optio dolor vero quaerat repellendus atque tenetur tempora obcaecati praesentium doloremque
excepturi autem aliquam aspernatur?</p>
<input type="button" class="button" value="Read More..">
</div>
</div>
</body>
</html>