Your code seems to have a syntax error. The transition property should have separate values for each property being transitioned. However, in your code, it seems like you are trying to transition multiple properties (transform, height, and padding) with a single value.

To fix the syntax error, you should separate each property with a comma, like this:

.sj_cat.is-selected .txspan {
  transition: transform 0.3s, height 0.6s, padding 0.6s;
}

This way, each property will have its own transition timing value

sj_catis-selected txspan transitiontransform 03s height 06s padding 06s;what is my code problem

原文地址: https://www.cveoy.top/t/topic/h7et 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录