1. 程式人生 > >CDN字型引用font-awesome

CDN字型引用font-awesome

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>網路字型</title>
    <link href="http://libs.baidu.com/fontawesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<i class="fa fa-user fa-1x"></i>
<i class="fa fa-glass fa-2x"></i>
<i class="fa fa-leaf fa-3x"></i>
<i class="fa fa-calendar fa-4x"></i>
<i class="fa fa-th fa-4x"></i>

</body>
</html>