-
Notifications
You must be signed in to change notification settings - Fork 0
LightWindCSS for users
titi_2115 edited this page Aug 27, 2022
·
3 revisions
To add LightWindCSS to your project, you have to copy-paste the code into a script tag or add the source tag like below:
<script src="https://gitcdn.link/cdn/LightWindCss/LightWindCSS/main/src/index.js">
To precise the source of the config file add an attribute to your script file and give the path to the .json
file like below:
<script src="https://gitcdn.link/cdn/LightWindCss/LightWindCSS/main/src/index.js" lightwindsrc="https://gitcdn.link/cdn/LightWindCss/LightWindCSS/main/src/lightTheme.json">
It's very simple! Now just create a node inside of the DOM and add a class which has the stucture given below:
- You start by giving the selectors you want. You can do it by writing the name seperated by
:
- You have to give the propriety name or the absolute class name (a name which is the value)
- If the precedent value was a propriety name give the value preceded by a
>
<div class="selector:propName>value selector:absolutePropName">Example element</div>
Made with ❤ by @titi_2115