博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
web开发 - 从零开始 - 01 - 常见样式
阅读量:4681 次
发布时间:2019-06-09

本文共 845 字,大约阅读时间需要 2 分钟。

1.width  &  height

2.background :

  a.background-color

  b.background-image:url()

  c.background-repeat : no-repeat , repeat-x , repeat-y ;

  d.background-position : 规范顺序 x  y ;除了坐标取值外,x可取值:left/center/right;y可取值:top/center/botton;

  e.background-attachment:fixed;

3.border : 

  a. border-width : border-top/right/bottom/left-width;

  b. border-style (solid,dashed,dotted) : border-top/right/bottom/left-style ;

  c. border-color : border-top/right/bottom/left-color;

  

4.font : 

  a.font-size;

  b.font-weight;

  c.font-style;

  d.line-height;

  e.font-family

  f.color;

  g.text-indent : 首行缩进,1em = 1字符;

  h.text-align : left/center/right;

  i.text-decoration : 文本修饰,underline下划线 / line-through 删除 / overline 上划线 / none

  j.letter-spacing : 字母间距,字间距

  k.word-spacing

5.padding 内边距

6.margin  外边距

转载于:https://www.cnblogs.com/muzha-yuan/p/5373241.html

你可能感兴趣的文章
无平方因子的数(数论初步) By ACReaper
查看>>
C语言截取字符串
查看>>
构建之法阅读笔记06
查看>>
CentOS minimal新装配置笔记
查看>>
压缩映象原理的一个应用
查看>>
Aurora — 一个在 MSOffice 内输入 LaTeX 公式的很好用插件
查看>>
关于sql优化的一个小总结
查看>>
Java语言中的正则表达式
查看>>
Java环境变量设置
查看>>
【JBPM4】判断节点decision 方法3 handler
查看>>
filter 过滤器(监听)
查看>>
Linux进程间通信---共享内存
查看>>
Computer Information
查看>>
交换机/路由器上的 S口 F口 E口
查看>>
P1298(矩阵切割)DP
查看>>
wzplayer for delphi demo截图
查看>>
团队第二周:SRS文档
查看>>
Zookeeper的安装与使用:
查看>>
密码策略限制最大与最小长度
查看>>
正则表达式模式
查看>>