Marta• 20
@missmbala
Submitted
I have completed the challenge however i could not get the item to centre as per guide image, so any feedback on what has gone wrong in this regard is greatly appreciated
@rriadhh
@missmbala
Submitted
I have completed the challenge however i could not get the item to centre as per guide image, so any feedback on what has gone wrong in this regard is greatly appreciated
@rriadhh
Posted
try this .main-element { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) }
Marked as helpful