Hello,
Today I show you a little css trick i used to horizontally center a button defines in absolute position.
The following conventional technique is not walking in relative position:
div { position: relative; width: 50px; margin: auto; }
Here is how to do the same in absolute position.
div { position:absolute; left: 0 right: 0 margin: auto; }
Defining the left and the right of the element acts as if it has a defined width. This allows the browser to center the element horizontally.
See you soon