打勾

  1. .container {
  2. width: 8px;
  3. height: 16px;
  4. border-color: rgba(117,200,43,1);
  5. border-style: solid;
  6. border-width: 0 2px 2px 0;
  7. transform: rotate(45deg);
  8. }

三角形

  1. .container {
  2. width:0;
  3. height:0;
  4. border-width:0 30px 30px;
  5. border-style:solid;
  6. border-color:transparent transparent red;/*透明 透明 灰
  7. }