you can use the “+” or “~” selector to choose the element after current;
like this html
input b b
input:checked + b will take the element after input when it :checked(just one)
input:checked ~ b will take all the element after input when it :checked.
check the demo: http://codepen.io/anon/pen/lywAp
bad english, hope you can understand.