We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 318bf30 + 5d05a8e commit c0a4691Copy full SHA for c0a4691
src/css/landing.css
@@ -1,17 +1,12 @@
1
.boxes {
2
- display: flex;
3
- flex-wrap: wrap;
4
- justify-content: space-between;
+ display: grid;
+ column-gap: 1rem;
+ row-gap: 2rem;
5
+ grid-template-columns: 1fr 1fr 1fr;
6
}
7
-.box {
8
- flex: 0 30%;
9
- min-height: 200px;
10
- margin-bottom: 2%; /* (200-32*3)/2 */
11
-}
12
-
13
-.boxes.two-column .box {
14
- flex: 0 48%;
+.boxes.two-column {
+ grid-template-columns: 1fr 1fr;
15
16
17
.box h3 {
@@ -31,13 +26,13 @@
31
26
32
27
33
28
@media screen and (max-width: 1023.5px) {
34
- .box {
35
- flex: 0 47% !important;
29
+ .boxes {
30
36
37
38
39
@media screen and (max-width: 768px) {
40
41
- flex: 0 100% !important;
+ grid-template-columns: 1fr;
42
43
0 commit comments