mirror of
https://github.com/yusufipk/nexter-react.git
synced 2026-09-11 09:36:09 +00:00
created and styled features section
This commit is contained in:
+25
-1
@@ -1,4 +1,28 @@
|
||||
.features {
|
||||
background-color: $color-grey-dark-2;
|
||||
grid-column: center-start / center-end;
|
||||
|
||||
margin: 15rem 0;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
|
||||
gap: 60px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.feature {
|
||||
display: grid;
|
||||
grid-template-columns: min-content 1fr;
|
||||
row-gap: 1.5rem;
|
||||
column-gap: 2.5rem;
|
||||
|
||||
&__icon {
|
||||
color: $color-primary;
|
||||
font-size: 4.5rem;
|
||||
grid-row: 1 / span 2;
|
||||
transform: translateY(-1rem);
|
||||
}
|
||||
|
||||
&__text {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user