I've been experimenting with a code pen that I stumbled upon: http://codepen.io/surjithctly/pen/pLDwe
When I encase the checkbox in a div with the class "mynav," it stops functioning as intended. How do I implement the specified styling for the checkbox if it's enclosed within a div with the class "mynav"?
#toggle:checked ~ .message {
top: 0;
}
#toggle:checked ~ .container {
margin-top: 250px;
}