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