段落首字母放大是指放大段落开头的字母或者汉字,主要使用了css的first-letter伪类选择器。
单行放大:在第一行内放大,效果如下:
Document This is a test article. This is a test article.
This is a test article. This is a test article.
这是一个测试
注意:first-letter支持IE7+,first-line支持IE8+
多行放大:效果如下:
Document This is a test article. This is a test article.This is a test article. This is a test article.This is a test article. This is a test article.
这是一个测试。这是一个测试。这是一个测试。这是一个测试。这是一个测试。这是一个测试。这是一个测试。
Copyright © 2019- appcontents.com 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务