@valvrauu
Posted
Hello, to center, remove all these margins and use in the body:
-display: flex; -align-items: center; -justify-content: center;
Marked as helpful
@ChchEl-source
Posted
@Valvrauu thank you for you reply , i wrapped my div component in a <main> element and used flex , but i will sure use it on body element , so simple i didn't even think of it and struggled hard with margins! thanks again!