20 авг. 2016 г. · You have to modify the viewBox property to change the height and the width correctly with a svg. It is in the <svg> tag of the svg. |
30 мар. 2017 г. · How can I scale or resize inline SVG vector artwork, using only CSS, so all artworks resize proportionally and fit fully into their defined width & height? |
25 июн. 2010 г. · Open your .svg file with a text editor (it's just XML), and look for something like this at the top: <svg ... width="50px" height="50px"... Erase width and height ... |
25 мая 2022 г. · Use a viewBox attribute instead of width and height for the svg element. For example use viewBox="0 0 50 50" instead of width="50" height="50". |
22 июл. 2020 г. · I want to embed this SVG and make it centered and fit ~80% of div's width while maintaining the aspect ratio. |
12 авг. 2018 г. · You can do it by modifying 'width' and 'height' attributes on your tag. <svg viewBox="32 32 32 32" height="100" width="100"> |
6 июл. 2018 г. · You can't resize only width, like a regular image, because svg are vectors, and they scale. You need to set preserveAspectRatio(none). |
10 сент. 2014 г. · I am trying to create a clickable continent map on my site and have acquired an SVG image with the continents mapped out correctly from wikipedia. |
21 окт. 2013 г. · To specify the coordinates within the SVG image independently of the scaled size of the image, use the viewBox attribute on the SVG element. |
4 апр. 2020 г. · I am playing around in a HTML template for a website and want to change the standard SVG image of the template to another image. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |