There are several ways to introduce external css

青灯夜游
Release: 2021-10-12 16:51:08
Original
9538 people have browsed it

There are two ways to introduce external css, namely: 1. Introduction through the "@import" instruction, the syntax "@import url (css file path);>"; 2. Introduction through the link tag, Syntax "".

There are several ways to introduce external css

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

Two ways to introduce CSS

1. Import through the @import directive

@import directive is part of the CSS language. When using it, add this directive to a