jQuery

【jQuery】checkboxやradioの見栄えを変えるPretty checks

June 9, 2017
Pretty checks

Pretty checksはJavaScriptやCSSコードで、checkboxradioの見栄えを良くするライブラリ。

Instalation

jQuery

<script src="../../src/jQuery/czeki.js"></script>
<!-- view as sprite -->
<link rel="stylesheet" href="../../dist/css/czeki_sprite.css" />
<!-- or view as Font Awsome -->
<link rel="stylesheet" href="../../dist/css/czeki_fa.css" />

Usage

jQuery

$(function() {
    $('#czek1,#czek2,#czek3,#czek4,#czek5,#czek6,#czek7').each(function () {
        new DSsys.czek(this);
    });
});