網頁Web-使用fontawesome套件

  • 4516
  • 0
  • Web
  • 2022-12-03

使用fontawesome套件

<html>
<head>
<title>套用Font Awesome</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="fontawesome/fontawesome.css">
</head>
<body>
<i class="fa fa-car"></i>
<i class="fa fa-car" style="font-size:48px;"></i>
<i class="fa fa-car" style="font-size:60px;color:red;"></i>
</body>
</html>

參考: https://www.w3schools.com/icons/fontawesome_icons_text.asp

Yiru@Studio - 關於我 - 意如