mastorscdn v1.1.0
mastorsCDN
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.
Installation
Choose one of the following methods to install mastorsCDN.
Clone the Repository
To directly clone this repository, use:
git clone https://github.com/surajit-singha-sisir/mastorsCDN.git
Direct Include in Head
Include the CSS file in your HTML head:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/surajit-singha-sisir/mastorsCDN@v1.1/mastors.css">
<script type="module" src="https://cdn.jsdelivr.net/gh/surajit-singha-sisir/mastorsCDN@v1.1/mastors.js"></script>
Latest Version
Use the latest version. Include the CSS file link in your HTML head:
<link rel="stylesheet" href="https://surajit-singha-sisir.github.io/mastorsCDN/mastors.css">
Install with npm
To install via npm, run:
npm install mastorscdn@1.0.0
Install with yarn
To install via yarn, run:
yarn add mastorscdn@1.0.0
Install with Composer
To install via Composer, use:
composer require surajit-singha-sisir/mastorscdn@1.0.0
Install with NuGet
For CSS:
Install-Package mastorscdn@1.0.0
Install with NuGet
To install mastorsCDN using NuGet, you can use the following commands:
For CSS:
Install-Package mastorscdn@1.0.0
For SCSS:
Install-Package mastorscdn@1.0.0.scss
ā¤ļø MastorsCDN icons š„³
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.1/mastorsIcons/mastorsIcons.css">
How to use Icons
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.
Usage
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.css">
JavaScript
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.
Features
- 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.
File Structure
Below is a basic structure of the repository:
mastorsCDN/
āāā mastors.css
āāā mastors.js
āāā README.md
Contributing
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-feature
orbugfix/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!