The text is aligned at both ends, but it has no effect.

            <ul>
                <li>
                  <span class="around">
                    :
                    <i></i>
                  </span>
                  <span></span>
                </li>
               
                <li>
                  <span class="around">:
                    <i></i>
                  </span>
                  <span></span>
                </li>
            </ul>
.around {
    display: inline-block;
    text-align: justify;
    width: 90px;
    i {
      display: inline-block;
      padding-left: 100%;
    }
  }

is there a problem with my writing that way? No effect

Css
Jun.16,2021

refer to CSS how to achieve text alignment


I used the 69 version of chrome and 11.1.2 safari, iphone to try, they are all OK. What browser does the landlord use? Or is it overwritten by other code?
http://jsfiddle.net/lisalin98.

Menu