css button clicks on container instead fix code example Example: css clicked event CSS clicked event :active { css declarations; }