@MariusG1991
Posted
Hi,
For positioning the easy way is to use flexbox. Instead of using margin in container to positioning, just set min-height:100vh
in your body selector so height of this element is equal to 100% of the viewport height and then also in your body selector add:
display: flex;
justify-content: center; // This three will center your component in the middle of the screen
align-items: center;
Marked as helpful