How to center block or Text

previously we were able to use center tag to center any block or text in ionic 2 but now its not working.
can anyone please help me with this

Hi,

try text-center

Source: http://ionicframework.com/docs/v2/theming/css-utilities/

You could also try style="text-align:center;" and style="margin: 0 auto;" on block elements

3 Likes