0
我試圖在編輯:hover
時將單詞「credits」擴展爲在Chrome擴展中顯示積分。它不工作。
這裏是我的學分CSS:CSS轉換在Chrome擴展中不起作用
.credits{
float: right;
text-align: right;
cursor: default;
}
.hiddencredits{
display: none;
width: 1px;
height: 1px;
-webkit-transition: width 2s, height 2s;
text-align: center;
cursor: default;
}
.credits:hover .hiddencredits{
display: block;
width: 100px;
height: 100px;
background: black;
color: white;
}
當我將鼠標懸停在文本,它打開了學分,但不與過渡。
它的作品!謝謝! – V360