我想更改字体,将其为Foundry Sterling粗体。
怎么做?请帮忙。
<!DOCTYPE html>
<html lang="en-us">
<head>
<style>
@font-face {
font-family: Foundry Sterling Bold;;
src: url('FoundrySterling-Bold.ttf');
}
p {
font-family:"Foundry Sterling Bold";
}
</style>
</head>
<body>
<p id="fsb">Bangalore</p>
<p>Bangalore</p>
</body>
</html>
最佳答案
selector {
font-family: "Foundry Sterling Bold";
}