大约有 10,336 项符合查询结果(耗时:0.0234秒) [XML]
Convert PDF to clean SVG? [closed]
I'm attempting to convert a PDF to SVG. However, the one I am using currently maps a path for every letter in every piece of text, meaning if I change the text in its source file, it looks ugly.
...
Modify SVG fill color when being served as Background-Image
Placing the SVG output directly inline with the page code I am able to simply modify fill colors with CSS like so:
16 Answe...
img src SVG changing the styles with CSS
...wers.
To precisely answer the original question, just:
Open your logo.svg in a text editor.
look for fill: #fff and replace it with fill: #000
For example, your logo.svg might look like this when opened in a text editor:
<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xml...
Is there a way to use SVG as content in a pseudo element :before or :after
I want to place some SVG images before some selected elements. I am using jQuery but that is irrelevant.
8 Answers
...
HTML5 Canvas vs. SVG vs. div
...
The short answer:
SVG would be easier for you, since selection and moving it around is already built in. SVG objects are DOM objects, so they have "click" handlers, etc.
DIVs are okay but clunky and have awful performance loading at large num...
jQuery SVG vs. Raphael [closed]
I'm working on an interactive interface using SVG and JavaScript/jQuery, and I'm trying to decide between Raphael and jQuery SVG . I'd like to know
...
How to use z-index in svg elements?
I'm using the svg circles in my project like this,
13 Answers
13
...
SVG gradient using CSS
I'm trying to get a gradient applied to an SVG rect element.
6 Answers
6
...
Are SVG parameters such as 'xmlns' and 'version' needed?
In about half of the svg examples I see on the internet, the code is wrapped in plain simple <svg></svg> tags.
...
Optimal settings for exporting SVGs for the web from Illustrator?
I'm looking to use an SVG logo for a website — to make it look great on a responsive design for all devices.
2 Answers
...