网上体育投注

Questions tagged [svg]

Scalable Vector Graphics (SVG) is an XML-based two-dimensional vector graphics format that can also be used in HTML. Do not add this tag just because your project uses SVG. Instead, add the tag if your question is either about SVG, or closely related to it, like how to achieve something with SVG.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Change relative path base for part of an HTML document, especially for injected SVG?

How can I change the base URL path for only part of a document? Or at least for an SVG section. In particular, I'm loading an SVG file, and injecting it's contents into the current document (this is ...
0
votes
0answers
13 views

Assign SVG elements under mouse color and opacity on hover based on top-down layer from mouse, and calculate resulting colors of overlapping elements

I'm really lost at how to accomplish this.... https://jsfiddle.net/fbtv4mpa/1/ The easiest way to explain my goal would would be: Take this map: https://upload.wikimedia.org/wikipedia/commons/5/59/...
0
votes
0answers
22 views

Calculating the mouse position relative to SVG elements, and listing SVG element ID list for elements under the mouse with relative coordinates

http://jsfiddle.net/t1dj9yv4/ Goal determine the mouse position relative to the SVG elements under it (or even more ideally related to all elements under the mouse / pointer event) Ideal output List ...
0
votes
2answers
26 views

How to apply rgba color in a black/transparent svg with img tag using CSS? [duplicate]

I have an image <img class="colorize" src="./logo.svg" alt="logo" /> The logo.svg is just black. Is there a way to have a CSS class .colorize {} and apply a ...
1
vote
0answers
14 views

How to declare types of props of SVG component? [React, TypeScript and Webpack]

Basically, what I want to do is to import an SVG icon to my react component and add props to it. Like size="24px" to make it more flexible as a component. Or make it editable with CSS by ...
0
votes
1answer
24 views

How to cut text on svg so that after a word was cut, it would be possible to see through that cut space

I have an SVG file that I found on the web and it has a text "AX DESIGN" and if I use that svg file in html and put it on top of, say, another div(which has background color of RED) then I ...
0
votes
0answers
12 views

How to scale SVG text clickable area?

> <text x="0" y="50" font-family="Verdana" font-size="35" fill="blue" > opacity="0">&#8203;Hello <animate attributeName=&...
0
votes
1answer
22 views

How to Add Multiline Text Tooltips in Bar Chart D3 JS

I am looking a way how to add multiline text in one box tooltips using d3.v3.min.js . My illustration behavior like this : And the code that I made is like this : HTML, CSS, Javascript function ...
0
votes
1answer
35 views

Is there different types of .svg?

I am currently learning css and I have encountered some question about the SVG img. I have discovered that some SVG will take up the whole width of webpage if their width or height are not set, while ...
1
vote
1answer
25 views

Fitting whole svg in a resizable div

I have been trying for a while to find a solution for this but it's worthless since I don't know svg and html that well :( Here is the behavior: https://i.stack.imgur.com/vHuJH.gif I would like the ...
0
votes
1answer
21 views

How set svg as background full screen?

I've created a inline svg code as my background for my website but whenever i resize my window horizontally the is a empty space at the bottom of the website. This is a example code for my website. ...
0
votes
0answers
15 views

Why doesn't StencilJS “hydrate” components in <svg> tags?

I have a Stencil component that should draw SVG shapes over an image. If I generate the shapes (simple rect below) directly in the svg tag, it's ok, but if I use Stencil subcomponents instead, they're ...
0
votes
0answers
16 views

Mapping Issue on Geo co-ordinates with leaflet map snapshot

I'm working on a land monitoring project in which i need to detect some objects on satellite historical images. I'm using leaflet to display satellite map tiles. To detect object, i'm capturing map ...
0
votes
1answer
18 views

The behavior of svg images in the flex box

I am currently studying css flexbox and I have a few questions about using svg images inside flex box. If a svg img is inside in the body of a html document, the width of the svg image is the same as ...
0
votes
3answers
38 views

How to generate a QR Code with multiple values like name, email, etc in React Native

I am able to create QR Code with single value by using react-native-qrcode-svg package. But not able to add multiple values like name,email, etc. I have tried these : Packages: npm install react-...

15 30 50 per page
1
2 3 4 5
2381