The CSS property ________ can be used to control the scaling of an SVG not to exceed its container.

  • fit
  • resize
  • max-scale
  • contain
The correct option is contain. This property ensures that the SVG scales down proportionally to fit within its container without exceeding it. It's particularly useful when dealing with responsive design and maintaining the aspect ratio of the SVG.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *