Table of Contents
CSS-in-JS-in-HTML is a JavaScript library which permits you to apply CSS properties with also some useful features to design your dynamic HTML elements.
- Chrome : 73+
- Firefox : 67+
- Safari : 13+
- Edge (Chromium) : 79+
- Opera : 60+
- Samsung Internet : 11.1+
- iOS Safari : 13+
- Import
main.js
in your HTML file
<script src="https://cdn.jsdelivr.net/gh/ulyssear/css-in-js-in-html@0.4.0/build/index.min.js"></script>
- Add one line of CSS to hide the page while building (and permits to hide elements with hidden attribute)
[hidden]:not([hidden="false"]) { display: none!important; }
- Clone the repo
git clone https://github.com/ulyssear/css-in-js-in-html.git
- Import
main.js
in your HTML file
<script src="path/to/css-in-js-in-html/build/index.min.js"></script>
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Ulysse ARNAUD - ulysse@arnaud.tech
Project Link: https://github.com/ulyssear/css-in-js-in-html