大约有 10,336 项符合查询结果(耗时:0.0245秒) [XML]
SVG drop shadow using css3
Is it possible to set drop shadow for an svg element using css3 , something like
7 Answers
...
SVG Positioning
I'm having a play with SVG and am having a few problems with positioning. I have a series of shapes which are contained in the g group tag. I was hoping to use it like a container, so I could set its x position and then all the elements in that group would also move. But that doesn't seem to be po...
How to convert a PNG image to a SVG? [closed]
How to convert a PNG image to a SVG?
15 Answers
15
...
Auto line-wrapping in SVG text
I would like to display a <text> in SVG what would auto-line-wrap to the container <rect> the same way as HTML text fills <div> elements. Is there a way to do it? I don't want to position lines sparately by using <tspan> s.
...
make an html svg object also a clickable link
I have an SVG object in my HTML page and am wrapping it in an anchor so when the svg image is clicked it takes the user to the anchor link.
...
Do SVG docs support custom data- attributes?
... with data- such as <p data-myid="123456"> . Is this part of the SVG spec too?
4 Answers
...
How to apply a style to an embedded SVG?
When an SVG is directly included in a document using the <svg> tag, you can apply CSS styles to the SVG via the document's stylesheet. However, I am trying to apply a style to an SVG which is embedded (using the <object> tag).
...
SVG: text inside rect
I want to display some text inside SVG rect . Is it possible?
5 Answers
5
...
Can you control how an SVG's stroke-width is drawn?
Currently building a browser-based SVG application. Within this app, various shapes can be styled and positioned by the user, including rectangles.
...
Resize svg when window is resized in d3.js
...
Look for 'responsive SVG' it is pretty simple to make a SVG responsive and you don't have to worry about sizes any more.
Here is how I did it:
d3.select("div#chartId")
.append("div")
// Container class to make it responsive.
.cl...