The Ionic framework provides several built-in CSS Utilities or directives that you can leverage when styling your application. Instead of writing your own CSS for each component's text alignment we can use the prebuilt ones.

Docs

Example:

<ion-content>
<h1 text-sm-center text-uppercase>Apollo 14</h1>
<h4 text-right text-capitalize>Kitty Hawk (CSM) | Antares (LM)</h4>
<p text-justify>Apollo 14 was the eighth manned mission in the United States Apollo program, and the third to land on the Moon. Commander
Alan Shepard, Command Module Pilot Stuart Roosa, and Lunar Module Pilot Edgar Mitchell launched on their nine-day mission
on January 31, 1971.</p>
<cite>https://en.wikipedia.org/wiki/Apollo_14</cite>
</ion-content>

最新文章

  1. [Deprecated!] Android开发案例 - 微博正文
  2. CentOS7源码编译安装Postgresql9.5
  3. go gomail
  4. 碎片事物的提交 commitAllowingStateLoss()
  5. javascript 汉字生成拼音
  6. Hill Climber and Random Walk
  7. IOS Label 自动换行 IOS6和IOS7
  8. Laravel学习第一天(创建laravel项目、路由、视图、blade模板)
  9. Piggy-Bank(完全背包)
  10. Android(java)学习笔记245:ContentProvider使用(银行数据库创建和增删改查的案例)
  11. 定义一个栈的数据结构,要求实现一个min函数,每次能够得到栈的最小值,并且要求Min的时间复杂度为O(1)
  12. Java单元测试:@BeforeClass,@Before,@Test,@After,@AfterClass中的问题详解
  13. DB Error: 1 &amp;quot;unrecognized token: &amp;quot;:&amp;quot;&amp;quot;
  14. 用Java为Hyperledger Fabric(超级账本)编写区块链智能合约链代码
  15. pythone函数基础(10)MD5加密
  16. Windows 下面 winrar 压缩简单记录
  17. Fetch API 接口参考
  18. 【set】【multiset】Codeforces Round #484 (Div. 2) D. Shark
  19. lintcode-424-逆波兰表达式求值
  20. selenium IDE 命令 一

热门文章

  1. android 系统签名【转】
  2. PDOHelper (原创)
  3. hihoCoder-1839 榶榶榶 数学
  4. A - Kefa and First Steps
  5. B - Guess a number!
  6. 5、Iterator迭代器的使用
  7. url 域名 主机名
  8. (转载)Android 方法数超过64k、编译OOM、编译过慢解决方案。
  9. Websphere 手动模拟删除应用操作
  10. YoC云上芯片家族迎来新成员