Home > front end >  Understand CSS look at, help me
Understand CSS look at, help me

Time:09-27

This I want to remove the black that piece (that was empty, I filled with black background, is the concrete), consult bosses, how the code in the picture, I'm new ~

CodePudding user response:

Brothers, help me

CodePudding user response:

Img set width: 100%; Display: inline. Or display: inline - block;

CodePudding user response:

Img {
width: 100%;
height:100%;
Vertical - align: center;
}

CodePudding user response:

Try * {margin: 0; padding:0; }

CodePudding user response:

I want to ask: what happened to that part black out? I think this is also a kind of special effects,

CodePudding user response:

The
reference 3 floor WeiflR10 response:
img {
width: 100%;
height:100%;
Vertical - align: center;
}

Thanks for elder brother, thank you thank you

CodePudding user response:

The
reference 3 floor WeiflR10 response:
img {
width: 100%;
height:100%;
Vertical - align: center;
}

Thanks for elder brother, thank you thank you

CodePudding user response:

reference 4 floor front coder response:
try * {margin: 0; padding:0; }

Thanks for elder brother, thank you thank you
  • Related