How to replace a checkbox with an image

Posted by admin on Thu, 04/20/2017 - 09:51

A short note how to replace your checkbox with an image.

<div class="mycheckbox">
    <input type="checkbox" name="useful" id="useful" />
    <label for="useful">It is useful?</label>
</div>
.mycheckbox input[type="checkbox"] {
  display: none;
}
.mycheckbox input[type="checkbox"]+label {
   background: url('images/checkbox-off.png') no-repeat;
  width:20px;
  height: 20px;
}
.mycheckbox input[type="checkbox"]:checked + label {
  background: url('images/checkbox-on.png');
  width: 20px;
  height: 20px;
}
Tags: 
×

Hey! Don't miss a new cool stuff!

Comments

enetibliole (not verified)

http://casinorealmoneysoe.com/ slots online http://casinorealmoneysoe.com/ - slots games free casino slots

enetibliole (not verified)

http://casinorealmoneysoe.com/ slots online http://casinorealmoneysoe.com/ - slots games free casino slots

enetibliole (not verified)

online casino bonus http://onlinecasinogamespcx.com/ play slots online casino real money free slots games

enetibliole (not verified)

online casino bonus http://onlinecasinogamespcx.com/ play slots online casino real money free slots games

enetibliole (not verified)

online casino bonus http://onlinecasinogamespcx.com/ play slots online casino real money free slots games

enetibliole (not verified)

casino online slots http://onlinecasinogamespcx.com/ - real casino slots casino slots casino slots casino online

enetibliole (not verified)

free casino games http://onlinecasinogamespcx.com/ - vegas slots online online casino games slots games free online casino

inticleni (not verified)

http://onlinecasinosw.com/ slots for real money http://onlinecasinosw.com/ - free slots slot games

enetibliole (not verified)

online casino games http://onlinecasinogamespcx.com/ - world class casino slots casino play slots free

inticleni (not verified)

slot games http://onlinecasinosw.com/ - free casino free casino slot games play slots

enetibliole (not verified)

online casino games http://onlinecasinogamespcx.com/ - slots games online casino games world class casino slots casino games

enetibliole (not verified)

online casino games http://onlinecasinogamespcx.com/ - slots games online casino games world class casino slots casino games

inticleni (not verified)

http://onlinecasinosw.com/ best online casinos http://onlinecasinosw.com/ - casino games online casino

enetibliole (not verified)

casino bonus codes http://onlinecasinogamespcx.com/ - no deposit casino slots games real money casino

inticleni (not verified)

free online slots http://onlinecasinosw.com/ - online casino slots for real money online slot games online casino real money

Idpnre x (not verified)

Aunbbl ywuwti genericviagra

enetibliole (not verified)

online casino gambling online slot games casino games casino play

inticleni (not verified)

free casino http://onlinecasinosw.com/ no deposit casino online casino bonus play casino

enetibliole (not verified)

http://onlinecasinogamespcx.com/ free casino slot games http://onlinecasinogamespcx.com/ - free slots games casino blackjack

enetibliole (not verified)

http://onlinecasinogamespcx.com/ free casino slot games http://onlinecasinogamespcx.com/ - free slots games casino blackjack

inticleni (not verified)

real casino slots online slots free casino games online

inticleni (not verified)

real casino slots online slots free casino games online

inticleni (not verified)

real casino slots online slots free casino games online

inticleni (not verified)

real money casino http://onlinecasinosw.com/ - real money casino online casino games real money casino casino slots

inticleni (not verified)

real money casino http://onlinecasinosw.com/ - real money casino online casino games real money casino casino slots

enetibliole (not verified)

http://onlinecasinogamespcx.com/ casino play slot games slots for real money play online casino

enetibliole (not verified)

http://onlinecasinogamespcx.com/ casino play slot games slots for real money play online casino

enetibliole (not verified)

http://onlinecasinogamespcx.com/ casino play slot games slots for real money play online casino

enetibliole (not verified)

http://onlinecasinogamespcx.com/ casino play slot games slots for real money play online casino

enetibliole (not verified)

http://onlinecasinogamespcx.com/ casino play slot games slots for real money play online casino

inticleni (not verified)

online casino best online casinos cashman casino slots

inticleni (not verified)

online casino best online casinos cashman casino slots

enetibliole (not verified)

casino slots http://onlinecasinogamespcx.com/ no deposit casino free casino games slots free

inticleni (not verified)

online casino best online casinos cashman casino slots

inticleni (not verified)

real money casino free casino games online big fish casino casino play http://onlinecasinosw.com/ - free casino slot games

enetibliole (not verified)

http://onlinecasinogamespcx.com/ slots games free http://onlinecasinogamespcx.com/ - no deposit casino play slots online

inticleni (not verified)

http://onlinecasinosw.com/ no deposit casino free slots casino blackjack best online casino

enetibliole (not verified)

best online casino online casino real money no deposit casino

inticleni (not verified)

http://onlinecasinosw.com/ vegas casino slots [url=http://onlinecasinosw.com/ ]best online casinos [/url] slot games

inticleni (not verified)

http://onlinecasinosw.com/ vegas casino slots [url=http://onlinecasinosw.com/ ]best online casinos [/url] slot games

inticleni (not verified)

http://onlinecasinosw.com/ vegas casino slots [url=http://onlinecasinosw.com/ ]best online casinos [/url] slot games

enetibliole (not verified)

world class casino slots free casino games online free casino online casinos

inticleni (not verified)

http://onlinecasinosw.com/ casino slots slots for real money online casino real money online casino

enetibliole (not verified)

free casino games online online casino slots slots games free casino

enetibliole (not verified)

free casino games online online casino slots slots games free casino

enetibliole (not verified)

free casino games online online casino slots slots games free casino

inticleni (not verified)

slots free online casino online casino bonus

enetibliole (not verified)

http://onlinecasinopc.com/ online casinos http://onlinecasinopc.com/ - slot games casino games

enetibliole (not verified)

http://onlinecasinopc.com/ casino game slots games online slot games no deposit casino

enetibliole (not verified)

http://onlinecasinopc.com/ casino game slots games online slot games no deposit casino

Add new comment