Grids are great
This commit is contained in:
parent
26ae22b4ad
commit
c67dc5c812
1 changed files with 3 additions and 5 deletions
|
@ -21,6 +21,9 @@
|
|||
@import "../scss/init/colors";
|
||||
|
||||
.feature-links {
|
||||
display: grid;
|
||||
grid-gap: 2rem;
|
||||
grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
|
||||
list-style-type: none;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
@ -32,7 +35,6 @@
|
|||
border: 1px solid rgba($black, 0.1);
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
margin-bottom: 1rem;
|
||||
position: relative;
|
||||
transition: box-shadow 0.2s;
|
||||
vertical-align: top;
|
||||
|
@ -59,10 +61,6 @@
|
|||
color: $teal;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.feature-link__title {
|
||||
|
|
Loading…
Reference in a new issue