css get the image to the center and to make it relative to the width of the parent.

85

#image {
    display: block;
      
    max-width: 100%;
    
    margin-left: auto;
    
    margin-right: auto;
    
}

Comments

Submit
0 Comments