不折腾的前端,和咸鱼有什么区别
| 目录 |
|---|
| 一 目录 |
| 二 复习知识点 |
| 2.1 基础 |
| 2.2 盒子模型 |
| 2.3 移动端 |
| 三 参考文献 |
| 3.1 面试 |
| 3.2 布局 |
| 3.3 Flex |
| 3.4 移动端 |
| 3.5 CSS |
| 3.6 CSS3 |
| 3.7 层叠上下文 |
| 3.8 BFC 块格式化上下文 |
| 3.9 其他 |
复习知识点有 3 个部分。
文章地址:基础
a 标签 hover 事件失效问题,link -> visited -> hover -> active@media 检测不同设备屏幕尺寸做处理Flex 布局:align-items 和 justify-contentabsolute + left/right/bottom/top: 0 + margin: autotransform 布局:absolute + transform: translate(-50%, -50%)float: left/right 以及 position: absolute/fixedhtml、float: left/right、position: absolute/fixed、display: inline-block/flex/grid、overflow: hiddenpx、em、rem 和 vw/vh 区别link 和 @import 区别display: none、visibility: hidden、opacity: 0!important 会覆盖页面任意位置定义的元素样式style 属性写在元素内的样式(行内样式)id 选择器background/border、z-index 为负值、块级元素、浮动元素、行内元素、z-index: 0 / auto、z-index 为正值inline、block、inline-block、table、nonestatic、relative、position、fixed、sticky* 通配符head 定义 link文章地址:盒子模型
contentWidth 等于设置的 width,它的实际总宽度 = width + padding + border + margin。(高度也一样)contentWidth 等于设置的 width + padding + border,它的实际总宽度 = contentWidth + margin。(高度也一样)inherit 继承、content-box 标准盒子、border-box 怪异盒子文章地址:移动端
em、rem、% 以及 vw/vhrem 单位、通过 position: relative/absolute 布局、Flex 布局::after 伪类 + transform: scaleY(0.5)、利用 box-shadow: 0 0.5 0 0 #ccc<meta>、通过 FastClick 库本系列参考文献有 46 篇。
jsliang 的文档库由 梁峻荣 采用 知识共享 署名-非商业性使用-相同方式共享 4.0 国际 许可协议 进行许可。
基于 https://github.com/LiangJunrong/document-library 上的作品创作。
本许可协议授权之外的使用权限可以从 https://creativecommons.org/licenses/by-nc-sa/2.5/cn/ 处获得。