How to make Tap states in CSS


Is there a directive or some CSS trick I don’t know about that does a tap state on any element? I want to add a background color when the user taps the sidemenu item but can’t figure out how.


Try using css :active or possibly the .active class on the .item class.

.item:active { }

or { }