@DarkstarXDD
Posted
- You don't need the layout to change in order to use flex or grid. It's common practice to use flex or grid in order to use the
gap
property. What you have done is correct and gives a clean result. - You should change the card
width
to bemax-width
. It won't be a deal breaker in this case but get into the practice of usingmax-width
instead of the fixedwidth
.
@baileyfrye1
Posted
@DarkstarXDD thanks for the reply! Glad you caught that I forgot to use max-width. I had actually started with max-width but when I was figuring out my vw size for my clamp function I ended up switching it temporarily to width to see if that changed anything but I forgot to change it back when I submitted the solution. I appreciate your advice on the flex/grid usage, I’ve always saved using them unless I know I’m going to be changing the layout based on a breakpoint so using it in this way was slightly new for me. Thanks for the help!