接触到的elements/attributes整理
来源:互联网 发布:中标麒麟安装软件 编辑:程序博客网 时间:2024/06/05 19:01
CSS Properties
font系列(大小的单位:120%,1.2em, small)
- font-style = normal italic oblique
- font-variant
- font-weight = bold normal
- font-size/line-height //单位可以为:1.1em、50%
- font-family
border系列
- top bottom
- -style
- -color
- -width
- padding
- margin
backgroud系列
- -color
- -image
- width,height,color,text-align
- vertical-align: top; bottom
/* 相对于所在的div,置顶还是沉底 */ - visibility: visible; hidden
/* 是否可见 */ - box-sizing: border-box;
/* 配合width: number ,可以使padding和border包含在width里面,省去计算px数(此属性较新) */ 布局
- display 默认一般是inline || block ||none
display: inline
/* 使block表现得如同inline */display: table, table-row, table-cell
/* 表格式布局 */
display: inline-block
/* 行内块,一块一块flow过去 */
display: flex
/* container设置display,子元素设置flex:1,2||initial||none */
/* initial和none配合width设置 */
/* container同时再追加设置align-items: center,使子div居中布置,与text-align相似,较新 */
display: table, table-row, table-cell
- position = absolute; fixed; relative; static;
/* static: 默认项,不会被position. */
/* relative: 设置了relative的元素可在子元素设置top~left:px,使之在原位置基础上产生偏移. */
/* fixed: 元素会相对于视窗来定位,即:定在一个位置上不动,即使滑动滚轮。 */
/* absolute: 元素会相对于最近的"position != static"的父元素来定位。 */ - max-width: 0px
/* ?绝对式布局? */ - float: right,left (任意块元素)
/* 浮动式,配合左右的兄弟元素应设置maring-left~right:px来防止覆盖 */
/* 页脚设置clear:left~right防止覆盖 */
overflow: auto;
/* 使该元素的子元素浮动时不会溢出 */
- display 默认一般是inline || block ||none
Elements
- em
- table ; th ; tr
form
- input type = select,
- action= ; method= ;
html 5
- nav
- section
- aside
- header
Others(elements' attributes)
title="comment"
/* hover 此元素时, 弹出一个comment */alt="comment"
- 有默认的margin,可手动设为0px;
- width=100% 自适应div的宽度;
0 0
- 接触到的elements/attributes整理
- Attributes or elements
- 接触到的软件
- 工作接触到的
- 项目接触到的业务流程
- linux 接触到的命令清单(后期每个命令需要整理文档)
- 刚刚接触到的seal类
- 最近接触到的一些模式
- 最近接触到的一些技术
- 最近接触到的一些名词。
- sguap 所接触到的名称
- @property (attributes) 迷惑的attributes
- Unity3d中的属性(Attributes)整理
- Unity3d中的属性(Attributes)整理
- Unity3d中的属性(Attributes)整理
- Unity3d中的属性(Attributes)整理
- Unity3d中的属性(Attributes)整理
- Unity——Attributes整理
- OpenStack计费项目CloudKitty的强化及运用
- ubnt编译环境搭建
- 牛客网答题笔记---地域划分
- Android之SQLite
- 分布式系统基本概念(一致性、数据分布、复制策略、分布式协议)
- 接触到的elements/attributes整理
- 关于单链表的尾插,删除,反向打印单链表
- 从尾到头打印链表
- Mycat读写分离、主从切换学习
- 点类派生直线类
- hibernate通过数据库表反向生成实体类
- PHP常规正则验证
- [POJ 1811 Prime Test] Miller_Rabin + Pollard_rho 大数质数判断/质因子分解模板
- poj 2253 Frogger(变式Dijkstra)