如何仅使用CSS和随时可用的图标集制作基于图标的基于字母的徽标?CSS +图标=徽标
我试过从标准图形包中加载图标集,但结果不令人满意。
Here is a solution I tried using CSS + Font Awesome。
http://jsbin.com/najakoraqa/edit?html,output<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Logos Using CSS + Font-Awesome</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<style>
body {
font-size: 100px;
color: red;
}
.fa-logo:before {
font-family: Impact, Charcoal, sans-serif;
font-weight: bold;
font-style: italic;
}
.fa-l:before {
content: 'L';
margin-right: -.2em;
}
.fa-z:before {
content: 'Z';
margin-left: -.4em;
}
</style>
</head>
<body>
<span class="fa fa-logo fa-l"></span>
<span class="fa fa-bolt"></span>
<span class="fa fa-logo fa-z"></span>
</body>
</html>
这个问题是不是太广,意见或根据需要讨论,所以是题外话堆栈溢出。如果您有特定的,可回答的编程问题,请提供完整的详细信息。 –