Creating a toggle feature using :checked pseudo class.
Recently I became familiar with :checked, a pseudo class which allows you to dynamically change the CSS of an element based on it’s state. Using :checked and :not (the negation pseudo class), I built a tooltip toggle feature. I think it’s a pretty awesome use of pseudo classes, so I’m going to share it.