senter element css

Solutions on MaxInterview for senter element css by the best coders in the world

showing results for - "senter element css"
Justine
26 Feb 2018
1div.container4 {
2    height: 10em;
3    position: relative }
4div.container4 p {
5    margin: 0;
6    background: yellow;
7    position: absolute;
8    top: 50%;
9    left: 50%;
10    margin-right: -50%;
11    transform: translate(-50%, -50%) }
12
13IMG.displayed {
14    display: block;
15    margin-left: auto;
16    margin-right: auto }
17...
18<IMG class="displayed" src="..." alt="...">
19
queries leading to this page
senter element csssenter element css