문자에 해당하는 폰트를 웹페이지에 추가해주고, 벡터 방식의 이미지를 웹사이트에 쉽고 안전하게 추가하는 사이트
http://fontello.com/
<link rel-"stylesheet" href="css/fontello.css">
를 추가한다.<link rel-"stylesheet" href="css/fontello.css">
와 <link rel-"stylesheet" href="css/animation.css">
를 추가한다.예시
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="css/fontello.css">
<link rel="stylesheet" href="css/animation.css">
<style>
body{
font-family: fontello;
}
</style>
</head>
<body>
<br>
<i class="icon-star "></i><br>
<i class="icon-spin5 animate-spin "></i>
</body>
</html>
fontello는 로그인 기능이 없기 때문에 내가 이전에 다운받았던 아이콘에 대한 기록이 없다. 이 기록을 다시 불러오고 싶을 때에는 같은 다운 받아진 config.json을 fontello 페이지의 import 기능을 사용하여 불러온다.
이 기능은 아이콘의 이름 접두사를 바꿀 수 있는 기능이다.
기본값은 icon- 이다.