angular.js ng-repeat for creating grid

后端 未结 11 2026
终归单人心
终归单人心 2020-11-30 03:22

I\'m trying to create a grid using bootstrap 3 and angularjs.

The grid I\'m trying to create is this, repeated using ng-repeat.

11条回答
  •  迷失自我
    2020-11-30 03:47

    One might say that the below solution does not follow the grid rules of having row divs, but another solution would be to drop the row class ( or use it outside of the ng-repeat) and use the clearfix class instead:

    {{item}}

    As far as I can see, this looks almost the same as with row class, but please comment on possible flaws (except the one I mentioned above).

提交回复
热议问题