- How to use:
- add this code to the end of tags
<script src="https://crud.codulluiandrei.ro/static/classcolor.js"></script>
- If you want to set a rgb color for text:
<p class="ccjs c-255-0-0">Red Text</p>
- If you want to set a rgb color to border:
<p class="ccjs bc-0-255-0" style="border: 2px solid;">Green Border Text</p>
- If you want to set a rgb color to background:
<p class="ccjs bg-0-0-255">Blue Background Text</p>
-
Notifications
You must be signed in to change notification settings - Fork 0
JavaScipt shorthand color classes [background, text & border color]
License
codulluiandrei/classcolorjs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
JavaScipt shorthand color classes [background, text & border color]