📜  如何在transition属性中为多个属性指定多个transition - CSS代码示例

📅  最后修改于: 2022-03-11 14:47:32.797000             🧑  作者: Mango

代码示例1
/*You can add more and more using commas*/
.class-name {
  /* element transitions top and font-size for two seconds */
  transition: height 2s ease-in-out, font-size 2s ease-in-out;
}