-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathart.css
83 lines (70 loc) · 1.51 KB
/
art.css
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
*{
margin: 0;
padding: 0;
font-family: "montserrat",sans-serif;
box-sizing: border-box;
}
.gallery-section{
width: 100%;
padding: 60px 0;
background-image: linear-gradient( 122.3deg,
rgba(111,71,133,1) 14.6%,
rgba(232,129,166,1) 29.6%,
rgba(237,237,183,1) 42.1%,
rgba(244,166,215,1) 56.7%,
rgba(154,219,232,1) 68.7%,
rgba(238,226,159,1) 84.8% );
}
button {
display: none;
}
.inner-width{
width: 100%;
max-width: 1200px;
margin: auto;
padding: 0 20px;
}
.gallery-section h1{
text-align: center;
text-transform: uppercase;
color: #333;
}
.border{
width: 180px;
height: 4px;
background: #333;
margin: 60px auto;
}
.gallery-section .gallery{
display: flex;
flex-wrap: wrap-reverse;
justify-content: center;
}
.gallery-section .image{
flex: 25%;
overflow: hidden;
cursor: pointer;
}
.gallery-section .image img{
width: 100%;
height: 100%;
transition: 0.4s;
}
.gallery-section .image:hover img{
transform: scale(1.4) rotate(15deg);
}
@media screen and (max-width:960px) {
.gallery-section .image{
flex: 33.33%;
}
}
@media screen and (max-width:768px) {
.gallery-section .image{
flex: 50%;
}
}
@media screen and (max-width:480px) {
.gallery-section .image{
flex: 100%;
}
}