How to make a <svg> element expand or contract to its parent container?

后端 未结 5 1871
日久生厌
日久生厌 2020-11-28 02:26

The goal is to have the element expand to the size of its parent container, in this case a

, no matter how big or small that
5条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 03:19

    For your iphone You could use in your head balise :

    "width=device-width"
    

提交回复
热议问题