How I can implement this grid?
with cards? or is there some other way? what is the best way? any idea?
Thanks!
How I can implement this grid?
with cards? or is there some other way? what is the best way? any idea?
Thanks!
ionlist --> ionitem ng-repeat set width to 50% and a fixed height … done
This topic is similar to what you need, but the images aren’t showing up. They want the items to take up the full height of the screen:
Here is the codepen from that example: http://codepen.io/anon/pen/KwppNq
If you just want boxes side by side the markup mentioned by bengtler will work:
<ion-item ng-repeat="item in [1,2,3,4,5,6,7,8,9]" class="custom-item">
Item {{item}}
</ion-item>
and css:
.custom-item {
width: 50%;
float: left;
height: 300px;
}
Here is a codepen example: http://codepen.io/brandyshea/pen/pjgKpM
Thanks!! This is very helpful for me and sorry for the dumb question
Not a dumb question! I’m sure it will help someone else out in the future.