关键词: 传统布局、组件化、响应式布局、媒体查询、BEM 命名法、原子类、iconfont
详细描述
HTML 特性:
- 语义化标签: nav, header, main, section, footer
<picture> <source media="" srcset="1,2,3"> </picture>
<figure> Other Info <figcaption> Description </figcaption> </figure>
- 使用
input:checked
弹出nav
- 使用
#target
控制元素显示
CSS 特性:
- 基于 rem
- css variables
- calc
- clip-path
- backdrop-filter
- background-image: 叠加渐变与图片
- will-change
- backface-visibility
- object-fit
- column-count, column-gap, column-rule, hyphens
- media query: min-width, max-width, min-resolution, -webkit-min-device-pixel-ratio
- BEM 命名法
关键词: Flexbox layout、 svg 雪碧图
详细描述
HTML 特性:
- 使用 svg 雪碧图链接资源:
<svg> <use xlink:href="sprite.svg#icon-bookmark"></use> </svg>
- Flexbox layout
- fill: currentColor
CSS 特性:
- 基于 rem, BEM
- CSS variables
- -webkit-mask-image, -webkit-mask-size
关键词: Grid layout
详细描述
HTML 特性:
<sup>
标签
CSS 特性:
- Grid layout
- Responsive layout based on grid
- BEM