📜  css display block ease in - CSS 代码示例

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

代码示例1
div {
  border: 1px solid #eee;
}
div > ul {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}
div:hover > ul {
  visibility: visible;
  opacity: 1;
}