引入谷歌字体

<!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>CSS基础</title>
    <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
</head>
<style>
    p{
        font-family: 'Lobster';
    }
</style>
<body>
    <p>
        引入谷歌字体
    </p>
</body>
</html>

おすすめ

転載: blog.csdn.net/huhuhuja/article/details/119023579