Niquelao » 博客档案 » CSS 3:收藏夹属性
» 博客档案 » CSS 3: 字体属性 Niquelao CSS 3: 字体属性 2009年12月2日,作者:Rumoroso。昨天我想整理一下 CSS 3 预计将包含的用于控制任何元素(在视觉媒介中)背景的属性及其相应的值。其中一些与我们通常在样式表中使用的属性一致,因此不会觉得陌生。其余的是新属性,旨在弥补 CSS 专业人士所发现的不足。 基于此,我准备了以下表格:属性 默认值 % background-attachment [scroll | fixed | local] [ , [scroll | fixed | local] ]* scroll - background-clip [border-box | padding-box] [ , [border-box | padding-box] ]* border-box - background-color <颜色> 透明 - background-image [<图像> |无] [ , [<图像> |无] ]* 无 - background-origin [border-box | padding-box | content-box] [ , [border-box | padding-box | content-box] ]* padding-box - 背景位置 [ [ [ <百分比> | <长度> |左|中心 |右] ] [ [ <百分比> | <长度> |顶部 |中心 |底部 ] ]? | [ 中心 | [ 左 |右] [ <百分比> | <长度>]? ] || [ 中心 | [ 顶部 |底部] [ <百分比> | <长度>]? ] ]* 0% 0% si background-repeat [重复-x |重复-y | [重复|空间|圆形|不重复] ] [ , 重复-x |重复-y | [重复|空间|圆形|无重复] ]* 重复 - 背景大小 [ [ <长度> | <百分比> |自动]{1,2} |封面|包含 ] [ , [ <长度> | <百分比> |自动]{1,2} |封面|包含 ]* auto si ……当然,还有简写形式: 背景: [
¿Cumplir WCAG sin tocar el código?
Superposición de IA que promete cumplimiento WCAG en 48 horas