如何在 HTML 中编写 CC Logo ,是否有类似 ©
(给出 ©)之类的东西?
(CC 代表知识共享)。
最佳答案
正如 schnaader 所指出的,有一种 TTF 字体,但是 pace 他的回答,它实际上可以为没有使用 CSS @font-face< 安装它的人正确呈现
标签。
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Test</title>
<style type="text/css">
@media screen {
@font-face {
font-family: 'CC-ICONS';
font-style: normal;
font-weight: normal;
src: url('http://mirrors.creativecommons.org/presskit/cc-icons.ttf') format('truetype');
}
span.cc {
font-family: 'CC-ICONS';
color: #ABB3AC;
}
}
</style>
</head>
<body>
<p>Key: a: SA, b: BY, c: CC Circle, d: ND, n: NC, m: Sampling, s: Share, r: Remix, C: CC Full Logo</p>
<span class="cc">a b c d n m s r C</span>
<p>This page is licensed under <span class="cc">C</span></p>
</body>
</html>
关于html - 如何在 HTML 中编写 CC(知识共享标志),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/282171/