0

i have this code:

    <ul class="careplus-infolist">
    <li>
        <i class="careplus-bgcolor-two fa fa-envelope"></i>
        <span><a href="mailto:info@email.com" target="_blank">info@email.com</a></span>
        <span><a href="mailto:info@pec.email.com" target="_blank">info@pec.email.com</a></span>                                        
    </li>
    <li>
        <i class="careplus-bgcolor-two fa fa-clock-o"></i>
        <span>9:00 - 13:00</span>
        <span>15:00 - 18:00 pm</span>  
    </li>
    <li>
        <i class="careplus-bgcolor-two fa fa-map-marker"></i>
        Main Street 22
        09030 Los Angeles CA  
    </li>
</ul>

I want to move the first li tag to the end of the list. I mean the li tag that contains email addresses after the li tag that contains

Main Street 22 09030 Los Angeles CA

For this operation i can't add classes manually, it is autogenerate code and i can use only css ( not javascript).

This is an horizontal list for a full screen view and a vertical list for mobile view

C1X
  • 665
  • 4
  • 14
  • 25
  • 1
    Shouldn't the title say `"Move first
  • element to the end"` ?! Cause the last is already at the end ;-)
  • – caramba Feb 17 '20 at 14:42