Bader Idris• 2,880
@Bader-Idris
Posted
You can set the container in the middle of the screen whatever user changes it when you add these properties to it in CSS:
.container {
display: absolute;
top:50%;
left: 50%;
transform: translate(-50%, -50%);
}
the new feature is transform, it has many lovely properties you can discover, I personally love it. Hope it's useful
Marked as helpful
0
Jota• 30
@JuanGelabert
Posted
@Bader-Idris
Thanks for the feedback! think I'm gonna love this place. I updated the code and make that change. Let me know what you think
1