I centered my form for laptop, with this .css code:
form{
position: absolute;
top: 40%;
left: 20%;
}
And here is the result:
But now, when I whatch it on my smartphone, I get this:
Which is not centered.
How would you center a form for every devices in Bootstrap/CSS ?