How do you make the image not "between" to the size of the container where it is?



  • The logo of the site is stretched with an increase in the size of the hat. How do you fight it?



  • Depending on how the images are produced

    1. if as background Block, change of properties background-size

    2. if as an image <img>change of properties width and height - if they are relative (e.g.: width: 50%the absolute values (e.g., width: 300px)


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2