@BaptisteGrias
Submitted
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
@rafifadlimulya
@BaptisteGrias
Submitted
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
@rafifadlimulya
Posted
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
Marked as helpful
I would like to know your opinionsز
@rafifadlimulya
Posted
i think you can remove the "Challenge by Frontendmentor, coded by Ahmad Sobhy Basha". that make a little white gap. ;D
@abedfetrat
Submitted
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:
@rafifadlimulya
Posted
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