Skip to content

Commit aa58fa9

Browse files
committed
add link
1 parent 2471a6e commit aa58fa9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-2.x.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### 以下是常用的代码收集,没有任何技术含量,只是填坑的积累。转载请注明出处,谢谢。
22

3+
#### 1. css 2.x
34
- 文字换行
45
```css
56
/*强制不换行*/
@@ -79,10 +80,14 @@ cursor:not-allowed;
7980
```css
8081
font-family:"Hiragino Sans GB","Hiragino Sans GB W3",'微软雅黑';
8182
```
83+
8284
- 省略号
8385
```css
8486
.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
8587
```
88+
89+
#### 2. css 3
90+
8691
- 投影
8792
```css
8893
.b{box-shadow:inset 1px -1px 0 #f1f1f1;text-shadow:1px 1px 0px #630;}

0 commit comments

Comments
 (0)