Home > Web Front-end > Layui Tutorial > Where is layui's css style?

Where is layui's css style?

下次还敢
Release: 2024-04-26 01:54:13
Original
948 people have browsed it

layui CSS style file is located at layui-v2.7.0\dist\css\layui.css or loaded through CDN: https://unpkg.com/layui@latest/dist/css/layui.min.css .

Where is layui's css style?

layui CSS style file location

layui CSS style file is usually located at layui.css file, which is located in the layui framework package.

Specific path:

If you downloaded the layui framework package from the layui official website, the layui.css file is usually located in the following path:

<code>layui-v2.7.0\dist\css\layui.css</code>
Copy after login

CDN address:

If you are using layui’s CDN service, the CDN address of the layui.css file is:

<code>https://unpkg.com/layui@latest/dist/css/layui.min.css</code>
Copy after login

How to load layui CSS styles:

You can pass <link>## in the section of the HTML document # Tag loading layui.css File:

<code class="html"><link href="layui.css" rel="stylesheet"></code>
Copy after login

Note:

    Make sure the
  • layui.css file is The path is correct.
  • If you are using a CDN address, please ensure that the network connection is stable.

The above is the detailed content of Where is layui's css style?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template