📜  css 过渡可见性 - CSS 代码示例

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

代码示例1
.m-fadeOut {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}
.m-fadeIn {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}