Skip to content

manufactur-co/manufactur-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manufactur Framework

This is a css framework made by Manufactur

Deployment

Install the npm modules first

  npm install

Then you can watch scss or js changes

  npm run watch

Or you can build all of the scss and js to /dist

  npm run build

Installation

Install Manufactur Framework via script and link tag. Manufactur js uses jQuery so make sure it is added also.

  <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/manufactur-co/manufactur-framework/dist/css/manufactur.css">

  <script src="https://cdn.jsdelivr.net/gh/manufactur-co/manufactur-framework/dist/js/manufactur.js"></script>

Usage/Examples

Components are easy to use.

Accordion

Show/Hide contents using Accordion. This is useful for contents like FAQ wherein the title will be question and then the answer will be the accordion's content.

<div class="mfr-accordion" data-multi-expand="false">
    <div class="mfr-accordion__item">
        <a href="#" class="mfr-accordion__title">Accordion 1</a>
        <div class="mfr-accordion__content">
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, 
                sed do eiusmod tempor incididunt ut labore et dolore magna 
                aliqua. Ut enim ad minim veniam, quis nostrud exercitation 
                ullamco laboris nisi ut aliquip ex ea commodo consequat. 
                Duis aute irure dolor in reprehenderit in voluptate velit 
                esse cillum dolore eu fugiat nulla pariatur. Excepteur sint 
                occaecat cupidatat non proident, sunt in culpa qui officia 
                deserunt mollit anim id est laborum.</p>
        </div>
    </div>
    ...
</div>

Popup

Shop popups for your contents.

<a href="#" data-mfr-open-popup="#mfr-popup-1">Open Modal</a> 
<button data-mfr-open-popup="#mfr-popup-1">Open Modal</button>

<div class="mfr-popup" id="mfr-popup-1" data-close-on-overlay-click="true">
    <div class="mfr-popup__wrapper">
        <div href="#" class="mfr-popup__close" data-mfr-popup-close>&times;</div>
        <div class="mfr-popup__title">
            <h2>Popup Heading</h2>
        </div>
        <div class="mfr-popup__content">
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, 
                sed do eiusmod tempor incididunt ut labore et dolore magna 
                aliqua. Ut enim ad minim veniam, quis nostrud exercitation 
                ullamco laboris nisi ut aliquip ex ea commodo consequat. 
                Duis aute irure dolor in reprehenderit in voluptate velit 
                esse cillum dolore eu fugiat nulla pariatur. Excepteur sint 
                occaecat cupidatat non proident, sunt in culpa qui officia 
                deserunt mollit anim id est laborum.</p>
        </div>
    </div>
</div>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published