Created
June 22, 2023 11:39
-
-
Save koss822/6cf8f737f97aef6100ed906b187d9ebb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width: 40rem) { | |
.plan__list { | |
width: 100%; | |
text-align: center; | |
display: flex; | |
margin:auto; | |
justify-content: center; | |
align-items: center; | |
} | |
.plan { | |
display: flex; | |
flex-direction: column; | |
width: 30%; | |
vertical-align: middle; | |
min-width: 13rem; | |
max-width: 25rem; | |
height: 30rem; | |
} | |
.plan--highlighted { | |
z-index: 1000; | |
height: 35rem; | |
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.5); | |
} | |
} | |
@media (min-width: 40rem) { | |
/*assignment*/ | |
.key-feature { | |
display: flex; | |
width: 30%; | |
max-width: 25rem; | |
vertical-align: top; | |
flex-direction: column; | |
} | |
.key-feature__list { | |
display: flex; | |
flex-direction: row; | |
justify-content: center; | |
} | |
/*assignment => add .key-feature_list => flex container*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment