@TH3RIV
Posted
Hey, it seems like everything is clean and readable to me. Great job. Now considering your issues:
- There's a very easy way to center your project by using a flexbox on a parent container:
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
Basically whatever is between the <body>YOUR CONTENT</body>
tags will be displayed in the center of the parent. And then you can just use margin: 0 auto;
on the card container to make sure the margins adjust to keep it in the center horizontally.
- Now when it comes to responsiveness I found that it's good to use percentages over the fixed values, I just started learning and using that myself so I am no expert.
Hope this helps a little at least. :)
Tikiuos angliškai tiks, kad bet kas užėjęs galėtų suprasti. :)
Marked as helpful
@great1greta
Posted
@TH3RIV Hey, Saulius! Many thanks for your reply! 😊
Of course, flexbox! it didint pop into my head as its just one item and not many to display.
I will look up the percentages approach, to be honest was not aware of it.
Ačiū 😊 linkiu tau smagaus ir sklandaus programavimo!