#popup{ } input[type="checkbox"]:checked + #popup{ display:block; transition:.2s; }