0
如何將以下CSS轉換爲SCSS?使用scss在父類上懸停僞元素
.parent-class:hover .child-class {
visibility: visible;
animation-name: bounceIn;
animation-duration: 450ms;
animation-timing-function: linear;
animation-fill-mode: forwards;
transition-delay:0s;
}
下面的代碼似乎並沒有工作:
.parent-class{
&:hover .childclass{
visibility: visible;
animation-name: bounceIn;
animation-duration: 450ms;
animation-timing-function: linear;
animation-fill-mode: forwards;
transition-delay:0s;
}
}
哎呦......對不起!我瘋了尋找解決方案... –