This is a css framework made by Manufactur
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
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>
Components are easy to use.
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>
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>×</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>