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



try text-center


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