2017大二第六周学习笔记

来源:互联网 发布:知豆电动汽车官方电话 编辑:程序博客网 时间:2024/05/22 05:11

css中内联元素的高度是由行高

line-height决定的;

高度的表现不是行高,而是内容区域和行间距。

内容区域高度+行间距=行高

行高决定内联盒子高度;

行间距可大可小(甚至负值)。

设置等边三角形的css

.div__triangle__beautiful {

    position:relative;

    width: 0px;

    height: 0px;

    border-top: 32px solid transparent;

    border-bottom: 32px solid transparent;

    border-left:55.36px solid yellow;

}

css中icon字体

使用background.position相对图片定位

先根据icon确定大小,在

根据icon大小来确定其位置

css三种定位机制

1、标准文档流,Normal flow

2、浮动定位,floats

3、绝对定位,Absolute postitioning

excel整行移动按住shift

整列按ctrlL

http协议:无状态协议,两次请求无关联