Welcome to the ModulateCSS installation guide. This guide provides clear instructions to help you deploy ModulateCSS either via npm or directly through a CDN, depending on your project's needs.
Install via CDN
For quick testing or when not using npm packages, you can use the ModulateCSS CDN link.
Open the HTML file where ModulateCSS will be includedand insert the CDN link in the <head> section of your HTML file:
Install Specific Features
Fluid Sizing Full
Use if you need fluid sizing with classic CSS properties (left, right, top, bottom etc.) and CSS logical properties and values and additional features like fluid typography, fluid spacing, and fluid grid.
Fluid Sizing Classic
Use if you need fluid sizing without CSS logical properties and values.
So if you like to use width: 100% instead of inline-size: 100% and height: 100% instead of block-size: 100%.
Fluid Sizing Modern (recommended!)
Use if you need fluid sizing with CSS logical properties and values.
So if you like to use inline-size: 100% instead of width: 100% and block-size: 100% instead of height: 100%.
Advanced Module Grid
Advanced Header
Install via npm
To incorporate ModulateCSS in a Node.js project or any platform supporting npm.
Open your terminal, navigate to your project's root directory and run the installation command:
Integrate Specific Features only
All:
Fluid Sizing Full:
Fluid Sizing Classic:
Fluid Sizing Modern:
Advanced Module Grid:
Advanced Header:
Integration with Frameworks
Integrate ModulateCSS globally in various frameworks to ensure consistent styling:
Next.js
In projects using _app.tsx:
With the App Router:
Angular
Add styles in the angular.json file:
Vue.js
Include styles in your main entry file:
Svelte
Incorporate styles at the component level:
Gatsby
Include styles using gatsby-browser.js:
By following these instructions, ModulateCSS will be ready to enhance your web designs. Stay tuned for our next article, "Basic Concepts of ModulateCSS," to learn more about efficient and scalable web designs.