Core CSS
The core of SACSS is the naming convention, and core code is a CSS file.
#
Installation#
Useglobal Just introduce the sacss/index.css
file, which contains most of the parts needed to build the UI structure, such as
display
layoutfloat
layoutflex
layoutposition
layoutfont-weight
100 to 900
... See source for more.
The overall core code is only 2kb
uncompressed, and the compressed version is only 93b
, global introduction will not cause any stress, and SACSS also recommends only global references.
For building another part of the UI style, you can click here to learn about it.
โ ๏ธ Note: The introduction of files in node_modules requires build tool support.
#
CDNIf you don't have a build tool like webpack, you can use the jsdelivr CDN directly, or just download this file locally to use.