score:0

Accepted answer

    .main {
      list-style-type: none;
      padding: 0;
      display: flex;
      flex-direction: column;
    }
    
    .child {
      display: flex;
      list-style-type: none;
      padding: 0;
      
      li:not(:first-child) {
        position: relative;
        padding-left: 5px;
        
        &::before {
          content: '';
          width: 5px;
          height: 5px;
          background-color: red;
          position: absolute;
          top: 50%;
          left: 0;
          transform: translateY(-50%);
        } 
      }
    }

Related Query

More Query from same tag