1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-09 07:36:30 +02:00

Increase width

This commit is contained in:
Phuoc Nguyen
2021-05-08 14:17:52 +07:00
parent bc235077b7
commit cd56f2e0bb
2 changed files with 16 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ a {
/* Layout */
.container {
margin: 0 auto;
max-width: 64rem;
max-width: 80rem;
padding: 0 1rem;
}
.content {

View File

@@ -6,13 +6,12 @@
.home__features {
display: flex;
flex-wrap: wrap;
margin: 2.5rem auto;
max-width: 48rem;
margin: 1rem -1rem;
}
.home__feature {
padding: 1rem;
text-align: center;
width: 50%;
width: 100%;
}
.home__icon {
color: var(--color-blue-6);
@@ -25,7 +24,7 @@
}
.home__patterns {
height: 60rem;
height: 80rem;
overflow: hidden;
position: relative;
}
@@ -63,16 +62,13 @@
display: flex;
flex-direction: column;
flex-wrap: nowrap;
height: 180rem;
opacity: 0.8;
}
.home__slide {
animation: slide 20s linear infinite;
display: flex;
flex-wrap: wrap;
height: 60rem;
justify-content: center;
width: 60rem;
will-change: transform;
}
@@ -92,3 +88,15 @@
transform: translateY(-100%);
}
}
/* Responsive */
@media (min-width: 640px) {
.home__feature {
width: 50%;
}
}
@media (min-width: 1024px) {
.home__feature {
width: 33.333333%;
}
}