frontendmasters.com
Opening a Details Element from the URL
6
If the #hash in the URL matches the ID of an element *inside* a element, it'll open. No other fancy code required. Read full article