Created
June 11, 2025 17:11
-
-
Save shahalom/b485f880a84635e9955f2fce986659a6 to your computer and use it in GitHub Desktop.
A basic structure for a Layer based CSS file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@layer reset, framework, customframework, components, utilities; | |
@layer reset { | |
* { | |
box-sizing: border-box; | |
} | |
} | |
@import url('framework.css') layer(framework); | |
@layer customframework { | |
/* Our Own Custom Framework styles */ | |
} | |
@layer components { | |
.button { | |
padding: 1rem; | |
} | |
} | |
@layer utilities { | |
.text-center { text-align: center; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment