首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

-moz-outline-radius-topleft

非标准

此功能是非标准的,不处于标准轨道上.。不要在面向Web的生产站点上使用它:它并不适用于每个用户。实现之间也可能存在很大的不兼容性,而且这种行为在未来可能会发生变化。

在Mozilla应用程序中,可以使用-moz-outline-radius-topleft CSS属性将元素的outline对左上角进行四舍五入。

初始值

0

适用元素

all elements

是否是继承属性

no

Percentages

refer to the corresponding dimension of the border box

适用媒体

visual

计算值

as specified

动画类型

a length, percentage or calc();

正规顺序

the unique non-ambiguous order defined by the formal grammar

示例

HTML

代码语言:javascript
复制
<p>Look at this paragraph's top-left corner.</p>

CSS

代码语言:javascript
复制
p {
  margin: 5px;
  border: solid cyan;
  outline: dotted red;
  -moz-outline-radius-topleft: 2em;
}

结果

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com