Skip to content

FVesely/happy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Happy components

See demo

##Usage

  1. Make sure you are using happy components

    <script type="text/javascript" src="../src/assets/js/happy.js"></script>
  2. Use them:

  • Simple:

      <label>
      	<input class="happy" type="radio" name="animal" value="dog"> A dog
      </label>
    
  • Colored (as you are used to from Bootstrap)

      <input class="happy primary">
    
  1. In case you need to re-init Happy JS, call

    window.happy.reset();

About

Happy form inputs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 37.0%
  • CoffeeScript 29.3%
  • HTML 19.9%
  • JavaScript 13.8%