html - Checkbox sign from 3rd party library is not visible -
i trying yo use css library called pretty checkbox. both tried direct link , npm install this:
bower install pretty-checkbox
when use on html, in ui:
this html use:
<div class="pretty o-primary"> <input type="checkbox"/> <label><i class="mdi mdi-check"></i> primary</label> </div> <div class="pretty o-success"> <input type="checkbox"/> <label><i class="mdi mdi-check"></i> success</label> </div> <div class="pretty o-warning"> <input type="checkbox"/> <label><i class="mdi mdi-check"></i> warning</label> </div> <div class="pretty o-info"> <input type="checkbox"/> <label><i class="mdi mdi-check"></i> info</label> </div> <div class="pretty o-danger"> <input type="checkbox"/> <label><i class="mdi mdi-check"></i> danger</label> </div>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pretty-checkbox/2.2.1/pretty.min.css" /> <!-- works after adding --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialdesign-webfont/1.9.33/css/materialdesignicons.css" /> <div class="pretty o-primary"> <input type="checkbox" /> <label><i class="mdi mdi-check"></i> primary</label> </div> <div class="pretty o-success"> <input type="checkbox" /> <label><i class="mdi mdi-check"></i> success</label> </div> <div class="pretty o-warning"> <input type="checkbox" /> <label><i class="mdi mdi-check"></i> warning</label> </div> <div class="pretty o-info"> <input type="checkbox" /> <label><i class="mdi mdi-check"></i> info</label> </div> <div class="pretty o-danger"> <input type="checkbox" /> <label><i class="mdi mdi-check"></i> danger</label> </div>
Comments
Post a Comment