【发布时间】:2018-12-05 17:01:37
【问题描述】:
我最近开始使用 SVG,我喜欢它。那里很干净,很酷,很容易设计。
好吧,当我尝试将我的一个 svg 转换为 html 时,我偶然发现了一个问题(适用于我的每个 svg,除了这个)。如果我将其称为图像(<img src="hill.svg"></img>),它完全可以正常工作,但是当我尝试使用它时
无论是使用 PHP(include 'hill.svg';) 还是直接在索引文件中传递它,它都会搞砸。
Here's an image. Messed up svg top left and the working on the full screen. Same file just that the working one is imbedded with "background-image"
背景看起来像是变成了“缺失的图像图标”之一
任何帮助将不胜感激。 SVG:https://pastebin.com/RsSAGv8M
【问题讨论】:
-
什么是 SVG?
-
我马上添加