“Css3 pr text outline”的版本间差异
本页内容
(创建页面,内容为“{{DISPLAYTITLE:text-outline}}6 = CSS3 text-outline 属性 = 设置text-outline(文本-轮廓): <sample title="" desc="" lang="html" hererun="1"> p.test { text-outline: 2px 2px #ff0000; } </sample> == 浏览器支持 == 任何主流浏览器都不支持text-outline属性。 == 属性定义及使用说明 == text-outline属性指定文字大纲。 {| class="table table-striped table-hover" | 默认值…”) |
无编辑摘要 |
||
第1行: | 第1行: | ||
{{DISPLAYTITLE:text-outline}}[[Category: | {{DISPLAYTITLE:text-outline}}[[Category:css reference|196]] | ||
= CSS3 text-outline 属性 = | = CSS3 text-outline 属性 = | ||
2022年8月19日 (五) 04:48的最新版本
CSS3 text-outline 属性
设置text-outline(文本-轮廓):
示例
p.test
{
text-outline: 2px 2px #ff0000;
}
浏览器支持
任何主流浏览器都不支持text-outline属性。
属性定义及使用说明
text-outline属性指定文字大纲。
默认值: | none |
继承: | yes |
版本: | CSS3 |
JavaScript 语法: | object.style.textOutline="2px 2px #ff0000" |
语法
text-outline: thickness blur color;
值 | 描述 |
---|---|
thickness | 必需。轮廓的粗细。 |
blur | 可选。轮廓的模糊半径。 |
color | 必需。轮廓的颜色。参阅 CSS 颜色值 。 |