CSS design optimization