Official website address: http://www.fontawesome.com.cn/faicons/
Set font icon size
Awesome is a font that controls the size of icons through font-size. The before font size font-size inherits from its father. Find the corresponding element and modify the font-size to control the icon size.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
.fa-car {
color: pink;
}
.box {
font-size: 50px;
}
</style>
<link
rel="stylesheet"
href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css"
/>
</head>
<body>
<div class="box">
<i class="fa fa-car"></i>
</div>
</body>
</html>