今曦3201410
2016-06-28 14:22
最后一步代码在CSS中是怎么显示的,谁有,发一下
.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); } }
侧栏工具条开发
68226 学习 · 289 问题
相似问题