為什么我寫的當鼠標不經過動畫,它也動呢??????
<style>
?? ??? ??? ?h2{
?? ??? ??? ??? ?width: 200px;
?? ??? ??? ??? ?height: 100px;
?? ??? ??? ??? ?
?? ??? ??? ??? ?background: #333 ;
?? ??? ??? ?}
?? ??? ??? ?h2:hover{
?? ??? ??? ??? ?transition: all 2s ease-in;transition-delay:2s;transform: translate(100px);
?? ??? ??? ??? ?background: crimson;
?? ??? ??? ?}
?? ??? ??
?? ??? ?</style>
?? ?</head>
?? ?<body>
?? ??? ?<h2>test</h2>
2017-11-08
你這個我試過了? 是能動的 你把delay設置成2s 一開始我也以為不能動呢 等個2s就能動了