<span class="icon-plus">
    <span class="icon-plus__inner"></span>
</span>
<span class="icon-plus">
  <span class="icon-plus__inner"></span>
</span>
/* No context defined. */
  • Content:
    .icon-plus:not(.ico) { // legacy css fix
      position: relative;
      display: block;
      flex: 1 1 auto;
      width: 100%;
      height: 0;
      padding-top: 100%;
      cursor: pointer;
    }
    
    .icon-plus:not(.ico):before { // legacy css fix
      content: initial;
    }
    
    .icon-plus__inner {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      width: 100%;
      height: 100%;
    }
    
    .icon-plus__inner:before,
    .icon-plus__inner:after {
      transform: translateY(-50%);
      position: absolute;
      top: 50%;
      left: 0;
      display: block;
      width: 100%;
      height: 2px;
      background-color: currentcolor;
      content: '';
    }
    
    .icon-plus__inner:before {
      transform: translateY(-50%) rotate(90deg);
    }
    
  • URL: /components/raw/icon-plus/icon-plus.scss
  • Filesystem Path: ../src/02_atoms/icon/icon-plus/icon-plus.scss
  • Size: 658 Bytes

No notes defined.