Reordering divs responsively with Twitter Bootstrap?

后端 未结 4 1276
心在旅途
心在旅途 2020-12-02 19:34

I am working with Twitter Bootstrap v3 and want to reorder elements responsively, using column ordering and offsetting.

This is how I would like to use my elements.

4条回答
  •  抹茶落季
    2020-12-02 20:00

    Any reason to not use more traditional methods on this, ie. floating B left and the other elements to the right?

    Like if you added this to current CSS in your jsfiddle:

    .b {
        float: left;
        width: 50%;
        height: 100px;
    }
    .a, .c {
        float: right;
        width: 50%;   
        height: 50px;
    }
    

    See http://jsfiddle.net/E6BFk/

    I'm not sure that Bootstrap's column ordering could accomplish the stacking effect, perhaps only the re-ordering... Though the documentation is pretty slim on that feature.

提交回复
热议问题