Home > Web Front-end > CSS Tutorial > What to do if the external css style does not take effect

What to do if the external css style does not take effect

醉折花枝作酒筹
Release: 2021-07-26 11:47:20
Original
3203 people have browsed it

Solution: 1. Complete the link attributes introduced by css; 2. Place the self-defined CSS style introduction tag after the frame style reference to ensure that it will not be framed when loading the page. cover.

What to do if the external css style does not take effect

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

Solution one:

Complete the link attributes introduced by css

Solution two:

Introduce your own defined CSS style into the tag After the bootstrap frame style is referenced, ensure that it will not be overwritten by the frame style when loading the page

<link href="../css/bootstrap.min.css" rel="stylesheet">
<!--<link rel="stylesheet" href="../css/bootstrap-theme.min.css">-->
<link href="../css/index.css" type="text/css" rel="stylesheet" charset="utf-8">
Copy after login

Recommended learning: css video tutorial

The above is the detailed content of What to do if the external css style does not take effect. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
source:php.cn
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