@morifusaSubmitted 11 months ago
I found difficulty to define the space margin or padding on top with Web view. Mobile View is fine. Also, I'm not sure what is the best practice for define font size.
I found difficulty to define the space margin or padding on top with Web view. Mobile View is fine. Also, I'm not sure what is the best practice for define font size.
For the designs like that I generally prefer to use flex for my body
tag. You can use the css below for your body
tag.
display: flex;
justify-content: center;
align-items: center;
And you can set margin: 0;
for your .container
class, because it will be centered in your body
tag.
You can check my solution. Same logic.