The most challenging step was centering the QR code card vertically on the page. I wanted to use CSS Flexbox, and tried several methods, but ended up just using a margin-top to make it looked more centered. Does anyone know what I missed in trying to center .card?
tbahd
@tbahdAll comments
- @tinalrSubmitted about 2 years ago@tbahdPosted about 2 years ago
Hey, @tinalr In regards to centering vertically, you can either add a height of 100vh to your body or wrap your card div in another div/sematic element flex that and add align items to it.
Marked as helpful0 - @moustafasaSubmitted about 2 years ago
i will accept all feedbacks
@tbahdPosted about 2 years agoHi, @moustafasa Love your work but it seems that you've left out adding hover effect to some sections.
Marked as helpful0 - @maxnataliaSubmitted about 2 years ago
Hi! This is my second challenge with Frontend Mentor.
Any suggestions on how I can improve are welcome!
@tbahdPosted about 2 years agoHey, @maxnatalia I went through your project and it looks pretty great but I'd suggest using relative units such as rem and em instead of px as it helps with proper responsiveness of your project. You did great!
0