Home > OS >  How do I set the image in position static so that it won't overflow?
How do I set the image in position static so that it won't overflow?

Time:08-07

here is the image about

Since Im just learn web development for 1 month only, so idk whether this is possible or not...

.TEST1123{
  position: static;
  height: 300px;
  border-radius: 6px;
}

CodePudding user response:

First of all position has nothing to do with overflow.

you can set width:100%; height:100%; on your image.

In this way

   .TEST1123{
    width:100%;
    height:100%
    }
  • Related