class css center code example
Example 1: mettre une image au milieu css
IMG.displayed {
display: block;
margin-left: auto;
margin-right: auto }
...
<IMG class="displayed" src="..." alt="...">
Example 2: how to make a division center css
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);