[HTML] CSS3 文本效果
CSS3 文本效果
CSS3中包含几个新的文本特征。
在本章中您将了解以下文本属性:
text-shadow
word-wrap
浏览器支持
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzwAAABnCAIAAABKNdAQAAAgAElEQVR4nO2de1BTZ/7/85sdvx1n0C4dh9rq1qpbO/tHQZR+abtqZyja0kopqLuWwo4ytJVuU9qh4QudlgKutNzs2souqDUUBDpupFiPoCluQsv92gOYQAgXuaM5QCiJJCY5vz8++HBIwlVKzlOf97zHIclJeE7fUl5+Ps9FwBIREREREREREfFeAkcPgIiIiIiIiIiIaG4RaCMiIiIiIiIiwkDToO0nIiIiIiIiIiIifmgOaPNKlxLzzSQXYmJiYmLi+80E2rA0yYWYmJiYmPh+M4E2LE1yISYmJiYmvt9MoA1Lk1yIiYmJiYnvNxNow9IkF2JiYmJi4vvNBNqwNMmFmJiYmJj4fjOBNixNciEmJiYmJr7fTKANS5NciImJiYmJ7zcTaMPSJBdiYmJiYuL7zQuCttOb1wtm1abNMXBl7FqBQOAZy3lv7FqBQLA+1NPRN/zb8PRcYtcKBE4Bp1FGd7+eIYuYUKe717t6CgQCwdqwaR8OTyKtDbPzjPWQYkKdZsyX/GUgJiYmJiZeAi8c2mb4XesZsMkutHkGbBIIvF3J7+mljm3qYcxpzzDvuywFYI2CmJaFq6dA4BmLoM0KxQQCgUDg7QqXQVIxoU4I2uCZqW803fODNs+ATbbf0s6nERMTExMTE9t46SttngGbBJ7eawUCwRQZEGhb+thsn7RCIidPbyeBYG2YfWiblGcscBjgGnzOvCpt3A+ZSetDPSc//O7DyW9B/jIQExMTExMv2EtWaUP2DNjkFBC6ViAQeIbOBHnT+3fEi4lttgvCvAWCTZvDQmeBtmkRAIFN62Aio7cDsk+x3TST9igxMTExMfGv7MVA22Y7bbWpUoqrJwcUprpp5Pf0Esc29TAm1An6oTGhTgJvV9SSjrGGtnmZWxubUTboNh9om7E4x23mEhMTExMTE9v3PVbauFPgp67hgELs2slfyQTal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4fVzWT8M1lTKvl1tKgnObj6xccFIwMJ1/hsvLASthFMzIyMqhWy2WyL1JTw1/ygVraeZcHuKeLQrEt/CWfL1JT5TIZTdMjIyME2oh+dWGRi8lsMnb/OCgTDcpEnfLsXrp0ZGjA9jLdbcOtUR2Y/9uwzSksoplFpgmdXlWjV9UwslzVlynwtWGoHVNWQ8I9F4ZhmhVNFSVSKZUJriiRNiuasNjXYxbhnsuYVkvTtEQiSU5KORYTFx0ddSwmLjkpRSKR0DSNKa6BcIzGbDYbDAagN5qm5TLZxexzXAOoDarVIyMjOp0OL1wDzQ1tREREREREREREfNBs0EZERERERERERMRPEWgjIiIiIiIiIsJABNqIiIiIiIiIiDAQgTYiIiIiIiIiIgxEoI2IiIiIiIiICAMRaCMiIiIiIiIiwkD/H2X8xZP++NUKAAAAAElFTkSuQmCC" alt="" />
Internet Explorer 10, Firefox,Chrome, Safari, 和 Opera支持text-shadow 属性。
所有的主流浏览器支持自动换行(word-wrap)属性。
注意: Internet Explorer 9及更早IE版本不支持 text-shadow 属性.
CSS3的文本阴影
CSS3中,text-shadow属性适用于文本阴影。
您指定了水平阴影,垂直阴影,模糊的距离,以及阴影的颜色:
h1
{
text-shadow: 5px 5px 5px #FF0000;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>W3Cschool教程(w3cschool.cn)</title>
<style>
h1
{
text-shadow: 5px 5px 5px #FF0000;
}
</style>
</head>
<body> <h1>Text-shadow effect!</h1> <p><b>Note:</b> Internet Explorer 9 and earlier versions, does not support the text-shadow property.</p> </body>
</html>
CSS3的换行
如果某个单词太长,不适合在一个区域内,它扩展到外面:
This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.
CSS3中,自动换行属性允许您强制文本换行 - 即使这意味着分裂它中间的一个字:
This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.
CSS代码如下:
允许长文本换行:
p {word-wrap:break-word;}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>W3Cschool教程(w3cschool.cn)</title>
<style>
p.test
{
width:11em;
border:1px solid #000000;
word-wrap:break-word;
}
</style>
</head>
<body> <p class="test"> This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.</p> </body>
</html>
New Text Properties
属性 | 描述 | CSS |
---|---|---|
hanging-punctuation | 规定标点字符是否位于线框之外。 | 3 |
punctuation-trim | 规定是否对标点字符进行修剪。 | 3 |
text-align-last | 设置如何对齐最后一行或紧挨着强制换行符之前的行。 | 3 |
text-emphasis | 向元素的文本应用重点标记以及重点标记的前景色。 | 3 |
text-justify | 规定当 text-align 设置为 "justify" 时所使用的对齐方法。 | 3 |
text-outline | 规定文本的轮廓。 | 3 |
text-overflow | 规定当文本溢出包含元素时发生的事情。 | 3 |
text-shadow | 向文本添加阴影。 | 3 |
text-wrap | 规定文本的换行规则。 | 3 |
word-break | 规定非中日韩文本的换行规则。 | 3 |
word-wrap | 允许对长的不可分割的单词进行分割并换行到下一行。 | 3 |
[HTML] CSS3 文本效果的更多相关文章
- Cool!15个创意的 CSS3 文本效果【下篇】
这里文章收集了15个创意的 CSS3 文本效果,所有的都是精心挑选,这些可能会增加创意的火花到你的下一个项目.其中有些是用于特定用途,而另一些则适用于多种用途.如果你想要一个精彩而又充满色彩的文字效果 ...
- css3 文本效果
CSS3 文本效果 1 CSS3 文本阴影在 CSS3 中,text-shadow 可向文本应用阴影,能够规定水平阴影.垂直阴影.模糊距离,以及阴影的颜色.text-shadow: 5px 5px ...
- 第七十八节,CSS3文本效果
CSS3文本效果 一.文本阴影 CSS3提供了text-shadow文本阴影效果,这个属性在之前讲过,只是没有涉及浏览器 支持情况. 浏览器支持情况 text-shadow Opera ...
- CSS3:CSS3 文本效果
ylbtech-CSS3:CSS3 文本效果 1.返回顶部 1. CSS3 文本效果 CSS3 文本效果 CSS3中包含几个新的文本特征. 在本章中您将了解以下文本属性: text-shadow bo ...
- 第 21 章 CSS3 文本效果
学习要点: 1.文本阴影 2.文本裁剪 3.文本描边 4.文本填充 主讲教师:李炎恢 本章主要探讨 HTML5 中 CSS3 中文本效果,其中也包含一些之前讲过的 CSS3 文本属性. 一.文本阴影 ...
- HTML 学习笔记 CSS3 (文本效果)
text-shadow 语法 text-shadow : none | <length> none | [<shadow>, ] * <shadow> 或none ...
- CSS3 文本效果(阴影)
CSS3中包含几个新的文本特征. 在本章中您将了解以下文本属性: text-shadow box-shadow text-overflow word-wrap word-break CSS3 的文本阴 ...
- css3文本效果
CSS3 包含多个新的文本特性. 在本章中,您将学到如下文本属性: 1. text-shadow 2. word-wrap 浏览器支持 Internet Explorer 10.Firefox.Chr ...
- CSS3常用属性(边框、背景、文本效果、2D转换、3D转换、过渡、有过渡效果大图轮播、动画)
CSS3边框: 1.CSS3圆角:border-radius 属性--创建边框线的圆角 <body style="font-size:24px; color:#60F;"& ...
随机推荐
- iOS开发UI篇—简单的浏览器查看程序
iOS开发UI篇—简单的浏览器查看程序 一.程序实现要求 1.要求 2. 界面分析 (1) 需要读取或修改属性的控件需要设置属性 序号标签 图片 图片描述 左边按钮 右边按钮 (2) 需要监听响应事件 ...
- jQuery 源码中的 camelCase
先看一下源码 //65-72行 // Matches dashed string for camelizing //匹配连字符 ‘-’ 和其后的第一个字母或数字,如果是字母,则替换为大写,如果是数字, ...
- IT公司100题-32-交换元素,使数组差最小
问题描述: 有两个整数序列a, b,大小都为n, 序列元素的值任意整数,无序. 要求:通过交换a, b 中的元素,使得sum(a)-sum(b),差最小. 例如: var a=[80, 40, 60, ...
- iOS开发中可能有用的那些分类们Categories
Categories是给你得不到源码的classes增加功能的一种方法. UIImageView+FaceAwareFill 这个类别使用了Aspect Fill内容模式,可以自动根据图像内容进行调整 ...
- 学习node-formidable
使用第三方包node-formidable,需要通过Node.js的包管理NPM来安装外部包,我们已安装好的Node.js环境一般都已经默认把NPM安装到机器上,我们可以在cmd下通过命令行在NPM中 ...
- java的eclipse操作和常用类Object的使用
1.eclipse的快捷键: (1)alt + / 内容辅助. 如:main+alt + / 会出现完整的main方法. syso+alt+ / 会输出. 如编写某个方法时,只需写入方法名 + a ...
- Python使用CGIHTTPServer调用shell作为cgi脚本
#!/bin/bash echo "Content-Type:text/html" echo "" echo "hello world!" ...
- xcode armv6 armv7 armv7s arm64
目前ios的指令集有以下几种: armv6 iPhone iPhone2 iPhone3G 第一代和第二代iPod Touch armv7 iPhone4 iPhone4S armv7s iPhone ...
- raw_input 和input的区别
input它会根据用户输入变换相应的类型, raw_input则是不管用户输入什么类型的都会转变成字符型.
- Node.js高级编程读书笔记 - 4 构建Web应用程序
Outline 5 构建Web应用程序 5.1 构建和使用HTTP中间件 5.2 用Express.js创建Web应用程序 5.3 使用Socket.IO创建通用的实时Web应用程序 5 构建Web应 ...