flatifycss v2.0.0
Getting started
You can use FlatifyCSS in several ways:
- Install it using package managers
- Load it directly from a CDN
- Download the latest project files
CDN
You can add FlatifyCSS using jsDelivr with these lines of code:
<!-- CSS -->
<link
href="https://cdn.jsdelivr.net/npm/flatifycss/dist/css/flatify.min.css"
rel="stylesheet"
crossorigin="anonymous"
/>
<!-- JavaScript : Popperjs + FlatifyCSS -->
<script src="https://unpkg.com/@popperjs/core@2" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/flatifycss/dist/js/flatify.min.js" crossorigin="anonymous"></script>Package managers
You can include FlatifyCSS in your project using npm, yarn, or composer:
npm
npm install flatifycssYarn
yarn add flatifycssBun
bun add flatifycssComposer
composer require amir2mi/flatifycssContents
After installing FlatifyCSS or downloading the archive file, you'll find a /dist folder with compiled CSS, JS, and their map files:
CSS
CSS files come in different versions:
- Files with
-noprefixdon't use PostCSS Autoprefixer - Files with
-minare minified
Available CSS files:
flatify.cssflatify-min.cssflatify-noprefix.cssflatify-noprefix-min.css
JS
Note: FlatifyCSS needs Popperjs for dropdowns and popovers. This library isn't included in FlatifyCSS's JavaScript file, so you need to add it to your webpage separately.
Available JS files:
flatify.jsflatify-min.js
Development
To develop FlatifyCSS:
- Install Gulp globally:
npm i gulp-cli -g - Run
npm installin the root directory of FlatifyCSS - Run
gulpin the root directory to compile the stylesheet and JavaScript file
For more information about FlatifyCSS's Gulp tasks, read here.
Support
The best way to support us is by contributing to the project. If you'd like to do more, you can buy us a coffee!
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago