Home > front end >  Who can solve the problem of image and text level in
Who can solve the problem of image and text level in

Time:10-10

Who can solve the problem of image and text level in, usually the logo at the back of the word or words in front of need level, not get bosses to solve please,
Site layout is how to get a little bit more simple, always use the bootstrap without the bootstrap according to what get

CodePudding user response:

Adding in the outer div style,
display:flex; The align - items: center;

CodePudding user response:

Don't know much about this flexible framework, can speak for a moment?

CodePudding user response:

You can go online to understand under flex, the operation is very simple, https://www.runoob.com/w3cnote/flex-grammar.html

CodePudding user response:

Put the logo and words in a div inside, and then write this div style like this:
Div & gt; * {
Display: inline - block,
Vertical - align: 'middle'
}

CodePudding user response:

reference 4 floor a1765659645 response:
put logo and text inside a div, and then write the div style like this:
Div & gt; * {
Display: inline - block,
Vertical - align: 'middle'
}

The teacher gave me a also said this thank you

CodePudding user response:

leaf MAO reference 3 floor response:
you can go online to understand under flex, the operation is very simple https://www.runoob.com/w3cnote/flex-grammar.html

Thank you for your sharing, thank you very much
  • Related