I want to style the div#main in the following code when I click on the checkbox inside it. Can I do this using only css/css3? Thank you in advance!
<div id="main">
<div id="content">
<input type="checkbox"/>
</div>
</div>
css
I want to style the div#main in the following code when I click on the checkbox inside it. Can I do this using only css/css3? Thank you in advance!
<div id="main">
<div id="content">
<input type="checkbox"/>
</div>
</div>
Best Answer
You can play with HTML & css. Write Like this:
CSS
Check this http://jsfiddle.net/j5nTx/