Float:right reverses order of spans

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

I have the HTML:

Bookmix Offline
16条回答
  •  被撕碎了的回忆
    2020-11-27 17:16

    It might be achieved using flex margin positioning. Please note that this will work only on IE10+

    div
    {
        display: flex;  
    }
    
    span.label {
        margin: auto;
        margin-left: 0;
    }
    
    span.button {    
        margin-right: 5px;
    }
    

提交回复
热议问题