mastorsCDN is a CSS and JavaScript template repository designed to support front-end development workflows. With ready-to-use styles and essential scripts, mastorsCDN offers a reliable foundation for building consistent and responsive user interfaces.
Choose one of the following methods to install mastorsCDN.
To directly clone this repository, use:
git clone https://github.com/surajit-singha-sisir/mastorsCDN.gitInclude the CSS file in your HTML head:
<link href="https://cdn.jsdelivr.net/npm/mastorscdn@2.0.1/mastors.min.css" rel="stylesheet" integrity="sha512-kPc8hRVLpKhkKA09/FLOFXUR6FhfXl1NxHvUClW9NRdAA0tC0Av7m/XK1yTvrgLB13a1PgybphiYncD2ryRlZg==" crossorigin="anonymous">
<script type="module" src="https://cdn.jsdelivr.net/gh/surajit-singha-sisir/mastorsCDN@v2.0/mastors.js"></script>Use the latest version. Include the CSS file link in your HTML head:
<link href="https://cdn.jsdelivr.net/npm/mastorscdn@latest/mastors.min.css" rel="stylesheet" integrity="sha512-kPc8hRVLpKhkKA09/FLOFXUR6FhfXl1NxHvUClW9NRdAA0tC0Av7m/XK1yTvrgLB13a1PgybphiYncD2ryRlZg==" crossorigin="anonymous">To install via npm, run:
npm install mastorscdn@2.0.1To install via yarn, run:
yarn add mastorscdn@2.0.1To install via Composer, use:
composer require surajit-singha-sisir/mastorscdn@2.0.1For CSS:
Install-Package mastorscdn@2.0.1To install mastorsCDN using NuGet, you can use the following commands:
For CSS:
Install-Package mastorscdn@2.0.1For SCSS:
Install-Package mastorscdn@2.0.1.scss@Latest Version of the Package:
npm install mastorscdn@latestAdd SERVE to server.js
// MASTORSCDN SERVE
app.use('/mastorscdn', express.static(path.join(__dirname, 'node_modules/mastorscdn')));
ADD to index.html
<!-- MASTORSCDN -->
<link rel="stylesheet" href="/mastorscdn/mastors.min.css" /> <!-- MASTORSCDN CORE-->
<link rel="stylesheet" href="/mastorscdn/mastorsIcons/mastorsIcons.css" /> <!-- MASTORSCDN ICONS LIBRARY-->
<script type="module" src="/mastorscdn/mastors.js"></script> <!-- MASTORSCDN SCRIPT -->
MastorsCDN also supports icons. You can use the icons on your webpage. For Icon use this stylesheet on the head tag. Most of the icons are added from the "icomoon.io" library.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/surajit-singha-sisir/mastorsCDN@v1.2/mastorsIcons/mastorsIcons.css">If I need to use an icon then use m- icon-name.
<i class="m-facebook"></i>We will publish all the icon documentation later.
After installation, you can include mastorsCDN in your project as follows: CSS Include the CSS file in your HTML head:
<link rel="stylesheet" href="path/to/mastors.min.css">
To include the mastorsCDN JavaScript file, add the following line before the closing </body> tag in your HTML file:
<script src="path/to/mastors.js"></script>Replace path/to/ with the path where mastorsCDN files are installed in your project.
- CSS Templates: Includes pre-designed styles to build and style common components rapidly.
- JavaScript Utilities: Provides essential JavaScript functions for DOM manipulation, event handling, and more.
- Responsive Design: Built-in support for responsive layouts, compatible across various screen sizes and devices.
Below is a basic structure of the repository:
mastorsCDN/
├── mastors.min.css
├── mastors.js
└── README.md
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository: Click on the "Fork" button at the top right of the repository page to create your copy of the project.
- Create a new branch: Use a descriptive name for your branch, such as
feature/new-featureorbugfix/fix-issue.git checkout -b your-branch-name
- Make your changes: Implement the feature or fix the bug you want to address.
- Commit your changes: Use clear and concise commit messages.
git commit -m "Add a brief description of your changes" - Push to your branch: Upload your changes to your forked repository.
git push origin your-branch-name
- Submit a pull request: Go to the original repository where you want to contribute and create a pull request, explaining the changes you made.
Please ensure your code follows the project's coding style and includes any necessary documentation to facilitate the review process.
Thank you for considering contributing to mastorsCDN!