Skip to content

Files

Latest commit

author
AnthonyPilloud
Oct 23, 2019
4b94733 · Oct 23, 2019

History

History
33 lines (24 loc) · 769 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 769 Bytes

RibsCheckbox

This module is used to change checkbox and input radio to improve UX and UI

How install it ?

npm install ribs-checkbox

How use it ?

You have just to add followings lines to you head in html

<link rel="stylesheet" href="node_modules/ribs-checkbox/dist/css/style.css">

And in you file you have can use those blocks

<!-- for a switch on - off -->
<input type="checkbox" class="ribs-checkbox switched">
		
<!-- for input radio -->
<input type="checkbox" class="ribs-checkbox rounded">

<!-- for check standard styled checkbox -->
<input type="checkbox" class="ribs-checkbox checked">

At the end of your body add this script

<script src="node_modules/ribs-checkbox/dist/js/ribs-checkbox.js"></script>