border-bottom | css border bottom
border-bottom简写属性把下边框的所有属性:border-bottom-color[1],border-bottom-style[2]与border-bottom-width[3]设置到了一个声明中。这些属性描述了元素的下边框样式。与所有的简记属性相同,border-bottom定义了它所有可以定义的属性,即使他们并没有被显式地定义。它把所有未被显式定义的参数都设置为了默认值,这意味着这些值将被定义为:border-bottom-style:dotted;border-bottom:thickgreen;它和以下的代码是等价的:border-bottom-style:dotted;border-bottom:nonethickgreen;顺便一提,在border-bottom之前定义的borde...
border-bottom 简写属性把下边框的所有属性:border-bottom-color[1],border-bottom-style[2] 与 border-bottom-width[3] 设置到了一个声明中。这些属性描述了元素的下边框样式。
与所有的简记属性相同, border-bottom 定义了它所有可以定义的属性,即使他们并没有被显式地定义。它把所有未被显式定义的参数都设置为了默认值,这意味着这些值将被定义为:
border-bottom-style: dotted; border-bottom: thick green;它和以下的代码是等价的:
border-bottom-style: dotted; border-bottom: none thick green;顺便一提,在 border-bottom 之前定义的 border-bottom-style[4] 的值因此被忽略了。由于 border-bottom-style[5] 并没有默认值,未被定义的 border-style 参数的值将被设置为 none,也就是无底边框。
border-bottom: 1px; border-bottom: 2px dotted; border-bottom: medium dashed blue; 值[6]形式语法[7]border-bottom = <line-width> ||<line-style> ||<color><line-width> = <length [0,∞]>[11] |[12]thin |[13]medium |[14]thick
<line-style> = none |[15]hidden |[16]dotted |[17]dashed |[18]solid |[19]double |[20]groove |[21]ridge |[22]inset |[23]outset
[8][9][10]<div> This box has a border...