Skip to content

ulyssear/css-in-js-in-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

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.

(back to top)

Built With

Javascript NPM

(back to top)

Getting Started

Prerequisites

⚠️ The following prerequisites were tested with the version 0.1.6 of the library and not the current version. However, the compatibility should be the same.

The followed prerequisites are the minimum requirements to use the library. The library may work with older browsers with the polyfills but it's not guaranteed (and recommended).

Modern browers

  • Chrome 9+
  • Edge 12+
  • Firefox 6+
  • Safari 5.1+
  • Opera 12.1+

Browsers for mobile

  • IOS Safari 5.1+
  • UC Browser for Android 11
  • Firefox for Android 49

Older browsers

  • IE10+

Installation

From CDN

  1. Import main.js in your HTML file

    <script src="https://cdn.jsdelivr.net/gh/ulyssear/[email protected]/build/index.min.js"></script>
  2. Add one line of CSS to hide the page while building (and permits to hide elements with hidden attribute)

html[aria-busy="true"], [hidden] { display: none!important; }

Manual installation

  1. Clone the repo
    git clone https://github.com/ulyssear/css-in-js-in-html.git
  2. Import main.js in your HTML file
     <script src="path/to/css-in-js-in-html/main.js"></script>

(back to top)

Usage

(back to top)

Roadmap

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Ulysse ARNAUD - [email protected]

Project Link: https://github.com/ulyssear/css-in-js-in-html

(back to top)