最后一步代码在CSS中怎么显示的,即有hover,又有after的那一步
最后一步代码在CSS中是怎么显示的,谁有,发一下
最后一步代码在CSS中是怎么显示的,谁有,发一下
2016-06-28
.toolbar-item{ position: relative; display: block; width: $toolbar-size; height: $toolbar-size; margin-top: 1px; &:hover{ .toolbar-btn{ &:before{ top:-$toolbar-size; } &:after{ top:0; } } &:after{ @include opacity(1); @include scale(1); } } &:after{ content: ""; position: absolute; right: $toolbar-size - 6; bottom: -10px; width: 172px; background-image: url(../img/toolbar_img.png); background-repeat: no-repeat; @include opacity(0); @include transform-origin(95% 95%); @include scale(0.01); @include transition(all 1s); } }
举报