Float:right reverses order of spans

后端 未结 16 1958
你的背包
你的背包 2020-11-27 16:44

I have the HTML:

Bookmix Offline
16条回答
  •  孤城傲影
    2020-11-27 17:04

    I get also stuck with this... so here is my sollution

    I had this Before and want this After

    HTML looks like this

      @foreach($restaurant->categories as $category)
    • {{ $category->title }}
    • @endforeach @foreach($restaurant->labels as $label)
    • {{ $label->title }}
    • @endforeach

    CSS looks like this

    .restaurant-thumbnail__tags {
        direction: rtl;
        -webkit-transform: scaleY(-1);
        transform: scaleY(-1);
    }
    .restaurant-thumbnail__tags li {
        -webkit-transform: scaleY(-1);
        transform: scaleY(-1);
    }
    

提交回复
热议问题