-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
44 lines (41 loc) · 878 Bytes
/
style.css
File metadata and controls
44 lines (41 loc) · 878 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
42
43
44
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Oswald", serif;
}
html, body{
height: 100%;
width: 100%;
}
body{
display: flex;
background-color: rgb(168, 166, 166) ;
align-items: center;
justify-content: center;
}
#container{
position: relative;
height: 400px;
width: 350px;
background: red;
border-radius: 10px ;
overflow: hidden;
}
#container img{
height: 100%;
width: 100%;
object-fit: cover;
border-radius: 10px ;
}
#container i{
color: #fff;
font-size: 75px ;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
opacity: 0;
transition: transform ease 0.5s;
}