S
S
smoklew2015-10-07 15:56:57
css
smoklew, 2015-10-07 15:56:57

Why not in the middle?

Why, when viewed on mobile devices (max-width: 768px), the logo does not become centered, although when the browser window is reduced from a PC, everything is OK? (Parameter set: margin:auto;)
Example HERE

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nastya, 2015-10-07
@smoklew

Do you need to make sure that the logo is at the top in the middle and the text (slogan) is below the logo?

W
westdp, 2015-10-07
@westdp

try asking a picture

img{
    margin: 0 auto;
    display: block;
}

D
Dmitry Pyrkin, 2015-10-07
@ps1panda

Change max-width:768px to 980

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question