CSS样式总结

文本

  • 首行缩进:text-indent
  • 水平对齐:text-align
  • 字间隔:word-spcing
  • 字母间隔:letter-spcing
  • 字符转换:text-transform :none uppercase lowercase capitalize
  • 文本装饰:text-decoration
  • 处理空白符:white-space:pre

字体

  • 指定字体:font-family
  • 字体风格:font-style
  • 字体变形:font-varient
  • 字体加粗:font-weight
  • 字体大小:font-size

链接

  • 链接:link visited hover active
  • 文本装饰:text-decoration:none underline
  • 背景颜色:background-color

列表

  • 列表类型:list-style-type
  • 列表项图像:list-style-image
  • 列表标志位置:list-style-position inside outside
  • 简单列表样式:list-style

CSS表格

  • 表格边框:border
  • 折叠边框:border-collapse
  • 表格宽度/高度:width/height
  • 水平对齐:text-align
  • 垂直对齐:vertical-align
  • 内边距:padding
  • 背景颜色:background-color
  • 文本颜色:color
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值