1. add compress functional; 2. make the pseudo class active behind hover