前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >CSS 常用属性

CSS 常用属性

作者头像
前端GoGoGo
发布2018-08-24 15:32:59
4910
发布2018-08-24 15:32:59
举报

布局

  • position,z-index
  • top, bottom, right, left
  • float, clear
  • flex-direction, flex-wrap, justify-content ...
  • text-align
  • vertic­al-­align

尺寸

  • width, min-width, max-width
  • height, min-height, max-height

盒模型

  • box-sizing
  • margin, margin-left, margin-right, margin-top, margin-bottom
  • padding, padding-left, padding-right, padding-top, padding-bottom

显示

  • display
  • visibility
  • opacity
  • overflow

字体

  • font, font-f­amily, font-size, font-w­eight, font-style, color
  • @font-face

文本

  • text-indent
  • text-d­eco­ration, text-s­hadow
  • text-overflow
  • line-height
  • word-s­pacing, letter­-sp­acing
  • white-­space

背景

  • background
  • background-image, background-color
  • background-position
  • background-repeat
  • background-size

边框相关

  • border, border-width, boder-style, border-width, border-color
  • outline

表格

  • border­-sp­acing, border­-co­llapse, empty-­cells

列表

  • list-style, list-s­tyl­e-type, list-s­tyl­e-image, list-s­tyl­e-p­osition

变形

  • transform, transform-origin
  • scale, scale3d, rotate, translate, perspective, matrix ...

渐变

  • transition, transition-property, transition-duration, transition-delay, transition-timing-function

动画

  • animation, animation-name, animation-duration, animation-play-state ...
  • @keyframes

伪元素

  • content

其他

  • border-radius
  • cursor
  • filter
  • will-change
  • -webkit-overflow-scrolling :设置为 touch 滚动会带惯性

更多

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2017.02.22 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 布局
  • 尺寸
  • 盒模型
  • 显示
  • 字体
  • 文本
  • 背景
  • 边框相关
  • 表格
  • 列表
  • 变形
  • 渐变
  • 动画
  • 伪元素
  • 其他
  • 更多
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档