首页 > 试题广场 >

下列哪些属性是不可以被继承的()

[不定项选择题]
下列哪些属性是不可以被继承的()
  • margin
  • position
  • float
  • font-size
可以被继承的属性: 字体系列:font-family,font-size,font-style,font-weight,font-stretch,font-size-adjust; 列表相关:list-style,list-style-image,list-style-position,list-style-type,list-style-color; 文本系列:text-indent,text-align,line-height,word-spaceing,letter-spacing,text-transform,direction,color; 元素可见性:visibility; 表格布局:caption-side,border-collapse,border-spacing,empty-cells,table-layout; 生成内容:quotes; 光标属性:cursor; 页面样式:page,page-break-inside,Windows,orphans; 声音样式属性:speak、speak-punctuation、speak-numeral、speak-header、speech-rate、volume、voice-family、pitch、pitch-range、stress、richness、、azimuth、elevation。
编辑于 2019-12-06 01:13:53 回复(2)
可以被继承的属性主要有文本(font-),颜色(背景颜色不可以!),列表(list-style-type),元素可见性visibility
发表于 2019-09-17 09:27:06 回复(0)
position:inherit; ????
发表于 2019-09-16 17:00:33 回复(2)
发表于 2021-09-10 08:36:03 回复(0)
能被继承的基本上都是文本属性
发表于 2022-03-10 09:20:35 回复(0)
【css中有继承性和无继承性的属性 - 骨子里的钟 - 博客园】https://www.cnblogs.com/zhonghonglin1997/p/10233011.html
发表于 2020-07-16 23:27:14 回复(1)
卧槽,这题啥个意思啊,把属性写inherit不就可以继承了吗?又没说默认情况不可以被继承
发表于 2019-07-27 17:58:11 回复(1)
这是考记忆力吗
发表于 2020-11-10 10:44:56 回复(0)
学到了
发表于 2022-08-23 19:44:57 回复(0)