Skip to content

Commit

Permalink
fix pseudo usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lvzhenbang committed Oct 10, 2018
1 parent 99e1052 commit 6952ef1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pseudo

what can a pseudo-class do?
what can a pseudo-class/pseudo-element do?

## 伪类(pseudo-class)& 伪元素(pseudo-element)

Expand All @@ -26,6 +26,7 @@ what can a pseudo-class do?

* 作为一个占位符(清除浮动)
* 利用 `position + z-index` 这样做一些图层覆盖,然后结合时间做动画
* 定义列表元素(如:li, 或者设置盒样式为 'display:list-item;' 的元素)的标签样式

注:主要用途使用伪元素做动画比较常见。

Expand Down

0 comments on commit 6952ef1

Please sign in to comment.