This example demonstrates changing an element's background color when it's being clicked (active state).
Notice the background color becomes bg-blue-800 only while the mouse button is pressed down.
bg-blue-800