it was difficult to place everything like put the card on the middle of the screen put the QR code and the text at the good distance usinig flexbox
the entire challenge takes me 2h30
it was difficult to place everything like put the card on the middle of the screen put the QR code and the text at the good distance usinig flexbox
the entire challenge takes me 2h30
to put your card on the middle of the screen = body{ display: flex; align-items: center; justify-content: center; min-height: 100vh; }
to set distance you can use gap and margin :D
I would like to know your opinionsز
i think you can remove the "Challenge by Frontendmentor, coded by Ahmad Sobhy Basha". that make a little white gap. ;D
Hey there! This is my second FEM project. I think I probably could write less CSS, but the layout was quite complex so it got a little bit messy. My question:
sometime i put svg with : background-image: url(). im just doing this if i need to change it like onhover, active, etc; ofc you need .svg file for this :D