I am very new to Angular and I practice. I want to sort the list-group elements as I draw them horizontally as in the picture. But when you run the horizontal codes in Bootstrap, it looks like the one on the screen. How can I put list-group elements side by side as I drew
Horizontal list-group I want to make it alike
My other codes in app
citycategories : Category2[] = [
{cityid:1,cityname:"İstanbul",cityprovince:"Başakşehir"},
{cityid:2,cityname:"İstanbul",cityprovince:"Kayaşehir"},
{cityid:2,cityname:"İstanbul",cityprovince:"Halkalı"},
{cityid:2,cityname:"İstanbul",cityprovince:"Halkalı"},
]
<ul class="list-group-horizontal" *ngFor="let city of citycategories">
<li class="list-group-item">{{city.cityname}}</li>
</ul>