PHP Classes

File: vendors/gentelella/vendors/mjolnic-bootstrap-colorpicker/docs/includes/examples/09_size.hbs

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/mjolnic-bootstrap-colorpicker/docs/includes/examples/09_size.hbs   Download  
File: vendors/gentelella/vendors/mjolnic-bootstrap-colorpicker/docs/includes/examples/09_size.hbs
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 857 bytes
 

Contents

Class file image Download
<input id="cp9" type="text" class="form-control" value="pink"/> <style> .colorpicker-2x .colorpicker-saturation { width: 200px; height: 200px; } .colorpicker-2x .colorpicker-hue, .colorpicker-2x .colorpicker-alpha { width: 30px; height: 200px; } .colorpicker-2x .colorpicker-color, .colorpicker-2x .colorpicker-color div { height: 30px; } </style> <script> $(function () { $('#cp9').colorpicker({ customClass: 'colorpicker-2x', sliders: { saturation: { maxLeft: 200, maxTop: 200 }, hue: { maxTop: 200 }, alpha: { maxTop: 200 } } }); }); </script>