大约有 10,336 项符合查询结果(耗时:0.0255秒) [XML]
Select arrow style change
...similar to Julio's answer, however it doesn't have a set width and uses an svg as a background image. (arrow_drop_down from material-ui icons)
select {
-webkit-appearance: none;
-moz-appearance: none;
background: transparent;
background-image: url("data:image/svg+xml;utf8,<svg fill='blac...
Render HTML to an image
...
Very nice! It works with SVG also! I switched to your solution in the end! ;-)
– Martin Delille
Jul 3 '19 at 18:16
1
...
Smallest data URI image possible for a transparent image
...
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E
The final length depends on what it's gzipped with.
share
|
improve...
D3.js: How to get the computed width and height for an arbitrary element?
...d to know exactly the width and height for an arbitrary g element in my SVG because I need to draw a selection marker around it once the user has clicked it.
...
Drawing a connecting line between two elements [closed]
...o or more elements to connect them? Any combination of HTML/CSS/JavaScript/SVG/Canvas is fine.
12 Answers
...
Removing transforms in SVG files
...a while, and can't seem to find an answer (that works) anywhere. I have an SVG file which looks like this:
26 Answers
...
How to scale SVG image to fill browser window?
...
How about:
html, body { margin:0; padding:0; overflow:hidden }
svg { position:fixed; top:0; bottom:0; left:0; right:0 }
Or:
html, body { margin:0; padding:0; overflow:hidden }
svg { position:fixed; top:0; left:0; height:100%; width:100% }
I have an example on my site using (roughly)...
Drop shadow for PNG image in CSS
... alpha masked PNGs, using a combination of dropshadow-filter (for Webkit), SVG (for Firefox) and DX filters for IE.
.shadowed {
-webkit-filter: drop-shadow(12px 12px 25px rgba(0,0,0,0.5));
filter: url(#drop-shadow);
-ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY...
Fill SVG path element with a background-image
Is it possible to set a background-image for an SVG <path> element?
1 Answer
...
How to set a stroke-width:1 on only certain sides of SVG shapes?
Setting a stroke-width: 1 on a <rect> element in SVG places a stroke on every side of the rectangle.
3 Answers
...