R
R
Roman2017-06-16 11:22:08
css
Roman, 2017-06-16 11:22:08

How to embed svg correctly?

demo6.epiales.net/1test/_elements.html How to embed svg correctly? I inserted the 4th way. 1st is a raster image, 2nd is through the img tag, 3rd is the svg code in html, 4th is through css. As you can see, the usual raster image looks best, and the SVG is blurry. Who knows why?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
AngReload, 2018-11-01
@JohnDaniels

It's called Sliding Underline Menu
Here's another:

R
Roman Progressive, 2018-11-01
@Pro-gressive

li ul {
    border-top: 3px solid #3bb641;
}

I
iBird Rose, 2017-06-16
@arkanroman

You don't have svg there. you have png everywhere. Did you change the file extension from png to svg and think it's svg?

E
Eugene, 2017-06-16
@iamd503

When you open your site on mobile, your png will blur. SVG of course

R
Raphael™, 2017-06-16
@maxminimus

another way - through base64

R
Roman Misyura, 2017-06-16
@MindMinimal

HTML shorts, how to properly embed SVG
https://www.youtube.com/watch?v=TNX0-JLdM_U

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question