Definition of scss public files, how to introduce in HTML, not written in the framework, using jq?

just like using a framework, after the global introduction of scss, you can directly call it in other scss folders.
/ / locate full screen
@ mixin allcover {

position:absolute;
top:0;
right:0;

}

/ / position up, down, left, right, center
@ mixin center {

position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);

}

/ / Center up and down
@ mixin ct {

position: absolute;
top: 50%;
transform: translateY(-50%);

}

/ / Center up and down
@ mixin cl {

position: absolute;
left: 50%;
transform: translateX(-50%);

}

May.17,2022

compile scss to css first, and then introduce css instead of scss directly.

if you do not configure the compilation tool, you can try to transfer the website to css online


take a look at the official document https://www.sass.hk/install/. If you want to configure the build tool without having to install and compile, consider less.

Menu