<div class="checkbox"><input value="Yes" name="beta_interest" class="checkbox-input" id="beta_interest" type="checkbox"> <label for="beta_interest" class="checkbox-label icon-checkmark">Are you interested in joining program?</label></div>
<div class="checkbox"><input value="Yes" name="opt_in" class="checkbox-input" id="opt_in" type="checkbox"> <label for="opt_in" class="checkbox-label icon-checkmark">Yes, I’m interested in receiving announcements</label></div>
我需要根据某些下拉条件隐藏或显示第二个div。我如何隐藏或显示?隐藏HTML元素的div
您可能也有兴趣http://stackoverflow.com/questions/35622147/hide-a-div-with-css-only演示在那个演示如何使用复选框以及。 – BSMP