Home > Web Front-end > CSS Tutorial > How to use external word art in css

How to use external word art in css

王林
Release: 2020-10-29 15:56:56
forward
3656 people have browsed it

How to use external word art in css

Because the system comes with very few font styles, and most of them are not good-looking, I came up with the idea of ​​introducing external artistic fonts.

(Video tutorial recommendation: css video tutorial)

The method is as follows:

.shopName {
                /*使用你自己的字体*/
                font-family:fusanghu;
                font-style: oblique;
                font-size: 29px;
                font-weight: 900;
                color: brown;
            }
            /*使用前必须先定义*/
            @font-face {
                /* 字体名称随意起 */
                font-family: fusanghua;
                /*你下载字体所在的位置*/
                src: url('font/扶桑花期.ttf');
            }
Copy after login

Related recommendations: CSS tutorial

The above is the detailed content of How to use external word art in css. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template