-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
49 lines (34 loc) · 706 Bytes
/
styles.css
File metadata and controls
49 lines (34 loc) · 706 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
:root{
--space:10px;
--blur:5px;
--color:brown;
}
body{
background-color: black;
color: white;
font-family: monospace;
font-size: large;
}
.container{
display: flex;
flex-direction:column;
justify-content: space-around;
align-items: center;
height: 100vh;
}
.boxCont {
position: relative;
background-color: var(--color);
width: 600px;
height: 400px;
overflow: hidden; /* Prevents overflow */
border-radius: 25px;
}
.boxCont img{
padding: var(--space);
width: 80%;
height: 70%;
object-fit: cover; /* Ensures the image covers the area properly */
border-radius: 12px;
filter: blur(var(--blur));
}