-
-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathstyle.css
More file actions
41 lines (36 loc) · 721 Bytes
/
style.css
File metadata and controls
41 lines (36 loc) · 721 Bytes
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
* {
margin: 0;
box-sizing: border-box;
padding: 0;
}
.contact-us {
width: 100vw;
height: 100vh;
background-image: url("./img/bg.jpg");
background-repeat: no-repeat;
background-size: contain;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
}
a{
position: relative;
text-decoration: none;
margin:3vw;
display: flex;
justify-content: center;
align-items: center;
transition: transform 0.5s;
}
svg{
height: 90px;
fill: white;
transition: fill 0.5s;
}
a:hover{
transform: rotate(360deg); /* Rotate the element on hover */
}
a:hover svg{
fill: var(--bg-color);/* change color of the element on hover */
}