How to center block or Text


#1

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


#2

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