本文是《免费(共164篇)》专题的第 134 篇。阅读本文前,您可以先阅读前面的一些文章:
美化教程
CSS代码:(字体样式一:)
/*字体*/@font-face{font-family:"wiiuii";src:url(https://www.cunshao.com/666666/meihua/adjzRQKK4rMhqM7T.ttf);}
*{font-family:"wiiuii"}
CSS代码(字体样式二):
/*全站字体美化*/@font-face{
font-family: 'moe';
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.ttf');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.otf');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.dfont');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.eot');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.svg');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.woff');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.woff2');
}
body{
font-family:'moe';
}
.enlighter-default .enlighter{max-height:400px;overflow-y:auto !important;}.lazyloading:not(.swiper-lazy-loaded){opacity: 0;}@media (max-width:640px) {
.meta-right .meta-view{
display: unset !important;
}
}
注:(非常重要)font-family是自定义字体名称(自己修改),url这是字体文件的地址(自己修改),*这是全局显示。
您已阅读完《免费(共164篇)》专题的第 134 篇。您可以继续阅读该专题下面的其它文章: