How to introduce css files into the mini program: 1. Create a directory in the mini program project to install the css file; 2. Rename the css file to "**.wxss"; 3. In "app.wxss" Use the "@import "path to the css file";" statement to import it.
The operating environment of this tutorial: windows7 system, css3 version, thinkpad t480 computer.
How to import external css in WeChat applet
1: Download the external css file
2: Create a directory to install css file
3: Rename the file to **.wxss;
4: In app.wxss Just import it
The code is as follows:
@import "/style/iconfont.wxss";
For more programming-related knowledge, please visit:Programming Teaching! !
The above is the detailed content of How to introduce external css into a small program. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

WebStorm Mac version
Useful JavaScript development tools
