-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (68 loc) · 1.22 KB
/
style.css
File metadata and controls
80 lines (68 loc) · 1.22 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(dodgerblue, slateblue, purple);
height: 100vh;
overflow: hidden;
}
h1{
color: white;
font-size: 4rem;
text-align: center;
margin: 2rem 0 ;
letter-spacing: 2px;
text-transform: uppercase;
}
.container{
max-width: 1100px;
margin: auto;
padding: 2rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
width:100%;
}
.img-container{
position: relative;
width: 30%;
height: 200px;
margin: 1rem;
}
img{
width: 100%;
height: 100%;
box-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}
.img-container p{
position: absolute;
bottom:0;
left:0;
right: 0;
padding: 0.5rem 1rem;
background: rgba(0,0,0,0.6);
color: white;
text-transform: uppercase;
letter-spacing: 2px;
}
.blur{
filter: blur(10px)
}
.grayscale{
filter: grayscale(100%);
}
.contrast{
filter: contrast(200%)
}
.invert{
filter: invert(100%)
}
.brightness{
filter: brightness(200%)
}
.opacity{
filter: opacity(50%)
}