精通 CSS+DIV 网页样式与布局 2 Selector -- 选择符

property : value – 样式表定义。属性和属性值之间用冒号(:)隔开。定义之
间用分号(;)隔开
继承的值 (The ’ Inherit ’ Value)
每个属性都有一个指定的值:Inherit。它的意思是:将父对象的值等同为计算
机值得到。这个值通常仅仅是备用的。显式的声明它可用来强调。
CSS Properties Reference 样式表属性
字体 Font
font color font-family font-size font-size-adjust font-stretch font-style font-weight text-decoration
text-underline-position text-shadow font-variant text-transform line-height letter-spacing word-spacing
文本 Text
text-indent text-overflow vertical-align text-align layout-flow writing-mode direction unicode-bidi word-break
line-break white-space word-wrap text-autospace text-kashida-space text-justify ruby-align ruby-position
ruby-overhang ime-mode layout-grid layout-grid-char layout-grid-char-spacing layout-grid-line
layout-grid-mode layout-grid-type
背景 Background
background background-attachment background-color background-image background-position
background-positionX background-positionY background-repeat layer-background-color
layer-background-image
定位 Positioning
position z-index top right bottom left
尺寸 Dimensions
height max-height min-height width max-width min-width
布局 Layout
clear float clip overflow overflow-x overflow-y display visibility
外补丁 Margins
margin margin-top margin-right margin-bottom margin-left
轮廓 Outlines
outline outline-color outline-style outline-width
边框 Borders
border border-color border-style border-width border-top border-top-color border-top-style border-top-width
border-right border-right-color border-right-style border-right-width border-bottom border-bottom-color
border-bottom-style border-bottom-width border-left border-left-color border-left-style border-left-width
内容 Generated Content
include-source quotes content counter-increment counter-reset
内补丁 Paddings
padding padding-top padding-right padding-bottom padding-left
列表项目 Lists
list-style list-style-image list-style-position list-style-type marker-offset

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值