sass 悬浮除最后一个之外的所有子元素


      button {
        width: 120px;
        height: 32px;
        border: 1px solid #253e6e;
        color: white;
        font-weight: 600;
        box-shadow: inset 0 32px #102e5e;
        transform: skewX(-30deg);
        &:hover { //悬浮
          &:not(:last-child) { //排除最后一个样式
            @include mehtod-active; //插入样式
          }
        }
      }

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM