Reputation: 57226
How can I edit a xml svg with a visual tool? Any online tools out there?
I have this svg in xml format that I copied it from somewhere:
data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E
I want to change its colour to black or other colours.
.item>a::after {
content: "";
display: block;
width: 20px;
height: 20px;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
background-repeat: no-repeat;
background-position: center;
margin-top: -2.5px;
top: 22.5px;
border: 1px solid #000;
}
<ul>
<li class="item"><a href="#" class="item">One</a></li>
</ul>
Any ideas?
Upvotes: 0
Views: 5305
Reputation: 611
Paste it into a text file named something.svg and open that file in Adobe Illustrator. or you can convert svg to jpg/png and edit it in photoshop. convert here
Upvotes: 1