Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 从图标字体生成SVG图像?_Html_Css_Svg_Fonts_Icon Fonts - Fatal编程技术网

Html 从图标字体生成SVG图像?

Html 从图标字体生成SVG图像?,html,css,svg,fonts,icon-fonts,Html,Css,Svg,Fonts,Icon Fonts,是否可以从图标字体生成SVG图像 例如,提供了许多具有下面图标字体的酷图标,但它们只提供SVG版本,没有SVG等价物 @font-face { font-family: 'Framework7 Icons'; font-style: normal; font-weight: 400; src: url("../fonts/Framework7Icons-Regular.eot"); src: local('Framework7 Icons'), local('Fra

是否可以从图标字体生成SVG图像

例如,提供了许多具有下面图标字体的酷图标,但它们只提供SVG版本,没有SVG等价物

@font-face {
  font-family: 'Framework7 Icons';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Framework7Icons-Regular.eot");
  src: local('Framework7 Icons'),
     local('Framework7Icons-Regular'),
     url("../fonts/Framework7Icons-Regular.woff2") format("woff2"),
     url("../fonts/Framework7Icons-Regular.woff") format("woff"),
     url("../fonts/Framework7Icons-Regular.ttf") format("truetype");
}

.f7-icons, .framework7-icons {
  font-family: 'Framework7 Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

您可以检查此项,也许可以回答您的问题: