Toggling element without the hassle of JavaScript is a good design choice for
the application of dropdown/menu on a fast, responsive, mobile-friendly
website. After consulting Google, the posts [1] and [2] are good tutorials
for me. The following is my result.
<!DOCTYPE html><html><head><metacharset="utf-8"><title>Toggle Element Visibilty with CSS</title><linkrel="stylesheet"type="text/css"href="style.css"><metaname="viewport"content="width=device-width, initial-scale=1"></style></head><body><divclass="container"><divclass="toggleable-window"><inputclass="toggle"type="checkbox"id="punch"checked><labelfor="punch">≡</label><divclass="content">content<br>content<br>content</div></div></div></body></html>