user1283776 user1283776 - 20 days ago 11
CSS Question

Ionic item with left and right aligned text

I have an ionic item in an ionic list. What is the best way to left align the first text and right align the second text?

<div class="item">
<span>first</span>
<span>second</span>
</div>

Answer

This can be done using basic CSS properties. there is nothing specic about ionic here. This can be done using float:left and float:right properties.

Still for your reference, you can go through this link.

Comments