<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom Font Loading</title>
<style>
@font-face {
font-family: 'MyCustomFont';
src: url('https://example.com/fonts/mycustomfont.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'MyCustomFont', Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p { padding: 0;
box-sizing: border-box;
background-color: #f0f2f5;
}
h1 {
text-align: center;
margin-top: 50px;
font-size: 3em;
color: #007bff;
}
p {
标签:box,自定义,color,text,h1,字体,font,margin,加载
From: https://blog.51cto.com/u_16213142/12025949