File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 22
33本仓库的 CSS 技巧是从我另一个仓库 [ blog] ( https://github.com/lio-zero/blog ) 的[ 常用的一些 CSS 技巧一] ( https://github.com/lio-zero/blog/blob/master/CSS/%E5%B8%B8%E7%94%A8%E7%9A%84%E4%B8%80%E4%BA%9B%20CSS%20%E6%8A%80%E5%B7%A7%E4%B8%80.md ) 和[ 常用的一些 CSS 技巧二 — 选择器(伪类与伪元素)] ( https://github.com/lio-zero/blog/blob/master/CSS/%E5%B8%B8%E7%94%A8%E7%9A%84%E4%B8%80%E4%BA%9B%20CSS%20%E6%8A%80%E5%B7%A7%E4%BA%8C%20%E2%80%94%20%E9%80%89%E6%8B%A9%E5%99%A8%EF%BC%88%E4%BC%AA%E7%B1%BB%E4%B8%8E%E4%BC%AA%E5%85%83%E7%B4%A0%EF%BC%89.md ) 整理过来的,目的是为了方便后续的阅读和添加新内容。
44
5+ 其他 CSS 内容:
6+
7+ - [ CSS] ( https://github.com/lio-zero/blog#css )
8+ - 关于布局可以查阅 [ CSS Layout] ( https://github.com/lio-zero/blog#css-layout )
9+
10+ ## Tricks List
11+
512- [ CSS3 中的 counter] ( #css3-中的-counter )
613- [ 使用 CSS ` white-space ` 修复文本重叠] ( #使用-css-white-space-修复文本重叠 )
714- [ Flexbox 居中元素] ( #flexbox-居中元素 )
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7+ < title > Document</ title >
8+ < style >
9+ div {
10+ margin-left : 20px ;
11+ display : list-item;
12+ list-style-type : square;
13+ }
14+
15+ div ::marker {
16+ }
17+
18+ /* ::marker {
19+ content: 'Step ' counter(list-item) ': ';
20+ } */
21+
22+ input {
23+ -webkit-text-security : circle;
24+ }
25+ </ style >
26+ </ head >
27+ < body >
28+ < div > 1</ div >
29+ < div > 2</ div >
30+ < div > 3</ div >
31+
32+ < ol >
33+ < li > Item One</ li >
34+ < li > Item Two</ li >
35+ < li > Item Three</ li >
36+ </ ol >
37+
38+ < input type ="text " />
39+ </ body >
40+ </ html >
You can’t perform that action at this time.
0 commit comments