赢在职场-WEB全栈开发-1-8盒子模型
来源:互联网 发布:360手机数据恢复软件 编辑:程序博客网 时间:2024/05/17 11:58
1-8盒子模型
盒子大小 = border + padding+ width/height
盒子宽度 = 左border+ 右padding + width+ 右padding +右border
盒子高度 = 上border+ 上padding + height+ 下padding +下border
个人觉得应该加上margin对应的大小。
常见样式-结构
结构样式:
width 宽度
height 高度
background 背景
border 边框
padding 内边距
margin 外边距
复合属性:一个属性多个属性值的命令,叫做复合属性。
0 0
- 赢在职场-WEB全栈开发-1-8盒子模型
- 赢在职场-WEB全栈开发-1-1初识前段
- 赢在职场-WEB全栈开发-1-2浅析
- 赢在职场-WEB全栈开发-1-3CSS的位置
- 赢在职场-WEB全栈开发-1-4background讲解
- 赢在职场-WEB全栈开发-1-5border
- 赢在职场-WEB全栈开发-1-6padding
- 赢在职场-WEB全栈开发-1-7margin
- 赢在职场-WEB全栈开发-1-9 文本样式概览
- 赢在职场-WEB全栈开发-1-1初识前段、1-2浅析、1-3CSS的位置
- 赢在职场(转)
- mysql 赢在职场 学习
- web前端-CSS 盒子模型-010
- web盒子模型
- 【Web 前端】盒子模型
- web前端之盒子模型
- WEB入门.六 盒子模型
- 人在职场
- CentOS 7安装LAMP环境及Laravel框架
- 设计模式之适配器模式
- Python抓取熊猫TV弹幕
- hdoj-4245-A Famous Music Composer
- C++ string类型变量
- 赢在职场-WEB全栈开发-1-8盒子模型
- PAT 1002
- 防丢App记录(2)--将序列号通过文件存储
- java 线程中join的使用
- Git常用命令
- Linux 下tomcat的session共享
- 一个程序猿菜鸟的心声
- In android studio,cannot load 2 facets-unknown facet type:android and android-gradle
- 单链表基本操作详解