css切角

css 切角https://www.cnblogs.com/QianBoy/p/8672834.html
.notching{
      width: 18px;
      height:18px;
      padding:1px;
      font-size: 6px !important;
      color: white;
      background:
          linear-gradient(135deg, transparent 0px, rgb(30,214,189) 0)
          top left,
          linear-gradient(-135deg, transparent 0px, rgb(30,214,189) 0)
          top right,
          linear-gradient(-45deg, transparent 4px, rgb(30,214,189) 0)
          bottom right,
          linear-gradient(45deg, transparent 0px, rgb(30,214,189)0)
          bottom left;
          background-size: 50% 50%;
          background-repeat: no-repeat;
    }

你可能感兴趣的:(css,css3)