更多课程 选择中心


Web培训

400-111-8989

Web培训

WEB前端CSS继承属性


WEB前端CSS继承属性

无继承性的属性

display:规定元素应该生成的框的类型

文本属性:

vertical-align:垂直文本对齐

text-decoration:添加文本装饰

text-shadow:文本阴影效果

white-space:空白符的处理

unicode-bidi:设置文本的方向

盒子模型的属性:

width、height

margin、margin-top/right/bottom/left

border、border-top/right/bottom/left

border-style、border-top/right/bottom/left-style

border-width、border-top/right/bottom/left-width

border-color、border-top/right/bottom/left-color

padding、padding-top/right/bottom/left

背景属性:

background

background-color

background-image

background-repeat

background-position

background-attachment

定位属性:

float

clear

position

top/right/bottom/left

min-width/min-height、max-width/max-height

overflow

clip

z-index

生成内容属性:

content

counter-reset

counter-increment

轮廓样式属性:

outline-style

outline-width

counter-color

outline

有继承性的属性

字体系列属性

font:组合字体

font-family:字体系列

font-weight:字体粗细

font-size:字体尺寸

font-style:字体风格

font-variant:小写字母转换为大写,字体尺寸更小

font-stretch:对当前font-family进行伸缩变形。所有主流浏览器不支持。

font-size-adjust:为某个元素规定一个aspect值,保持首选字体的x-height

文本系列属性

text-indent:文本缩进

text-align:文本水平对齐

line-height:行高

word-spacing:字间距

letter-spacing:字符间距

text-transform:控制文本大小写

direction:文本书写方向

color:文本颜色

元素可见性:visibility

表格布局属性

caption-side

border-collapse

border-spacing

empty-cells

table-layout

列表布局属性

list-style-type

list-style-image

list-style-position

list-style

生成内容属性:quotes

光标属性:cursor

页面样式属性

page

page-break-inside

windows

orphans

免责声明:内容和图片源自网络,版权归原作者所有,如有侵犯您的原创版权请告知,我们将尽快删除相关内容

预约申请免费试听课

填写下面表单即可预约申请免费试听! 怕学不会?助教全程陪读,随时解惑!担心就业?一地学习,可全国推荐就业!

上一篇:web开发中http1.0和http1.1及http2.0有什么区别?
下一篇:jQuery实现类似fullpage插件的全屏滚动效果

Web前端开发培训学习

微信小游戏怎么开发?

Web前端工程师需要掌握哪些知识?

html怎么复制css样式

  • 扫码领取资料

    回复关键字:视频资料

    免费领取 达内课程视频学习资料

Copyright © 2023 Tedu.cn All Rights Reserved 京ICP备08000853号-56 京公网安备 11010802029508号 达内时代科技集团有限公司 版权所有

选择城市和中心
黑龙江省

吉林省

河北省

贵州省

云南省

广西省

海南省