I created an SVG image with Inkscape and i can't make it bigger using HTML
THE SVG WAS CREATED OUTSIDE OF THE HTML, NOT IN THE HTML CODE ITSELF, I DID NOT USE
< SVG > TAGS
I used an < img > tag
<img src='images/picture.svg' \/>
I created an SVG image with Inkscape and i can't make it bigger using HTML
THE SVG WAS CREATED OUTSIDE OF THE HTML, NOT IN THE HTML CODE ITSELF, I DID NOT USE
< SVG > TAGS
I used an < img > tag
<img src='images/picture.svg' \/>
You should be able to just style it like you would any other image. So something like this should work:
img {
height: 100px;
width: 100px;
}
Step 1) Make the SVG element on the page—however you have embedded it, be it inline <svg>
, <img>
, <object>
or <embed>
—the size that you want it to be.
Step 2) Set the viewBox
attribute on your SVG element to define what content area should be scaled to fill the space.