how to check if clicked in css code example Example: css clicked event CSS clicked event :active { css declarations; }