@sanchesaline6Submitted over 1 year ago
What other CSS properties should I have used to center my divs? Was there a correct semantic markup I could've used despite of the divs tags I used?
What other CSS properties should I have used to center my divs? Was there a correct semantic markup I could've used despite of the divs tags I used?
I found this code on stackoverflow after I did this challenge but it has helped me centering my projects. Try adding this to your '.qr-container' in your css:
position: absolute;
top:0;
bottom: 0;
left: 0;
right: 0;
You can find the post here if you need: https://stackoverflow.com/questions/356809/best-way-to-center-a-div-on-a-page-vertically-and-horizontally
I hope it helps :-D.