An alternative CSS only framework. Coraline comes with multiple components and class helpers.
⭐ Give me a star if you like this project :D
You can use the CDN for a quick start:
<!-- import the styles from cdn -->
<link rel="stylesheet" href="https://cdn.statically.io/gh/isradeleon/coraline/0.6.2/coraline-v0.6.2/coraline.min.css">
You can install the framework from npm or download the current version here. Then just import the minified CSS file into your project.
npm install coralinecss
Here is a code snippet:
<!-- import the styles -->
<link rel="stylesheet" href="coraline-v0.6.2/coraline.min.css">
Coraline includes the following list of components:
Coraline includes the following list of elements:
A grid system designed for being simple, legible and easy to learn. Here is a little code sample:
<div class="grid">
<div class="col-6">
...
</div>
<div class="col-6">
...
</div>
</div>
For defining the columns size on mobile and tablet just add:
<div class="grid">
<div class="col-6 tablet-12 mobile-6">
...
</div>
<div class="col-6 tablet-12 mobile-6">
...
</div>
</div>
And same on large screen devices:
<div class="grid">
<div class="col-12 large-6">
...
</div>
<div class="col-12 large-6">
...
</div>
</div>
The whole framework is just 15K size minified.
- Flexbox Flexible Box Module
- Autoprefixer for better browser support
- CSSO CSS compressor
- Sass Syntactically Awesome Style Sheets
Coraline is compatible with recent versions of:
- Firefox
- Chrome
- Safari
- Edge
- Opera
- Partial support for Internet Explorer
Currently working to improve the documentation. The docs are generated using Nunjucks and saved to ../coraline-docs/.
This library is licensed under MIT license
. View license.