Skip to content

Commit

Permalink
doc: update docs/css.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 18, 2023
1 parent 850fcfa commit e7d8b4a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,17 @@ html {

[点击我](#入门)页面会平滑滚动到入门

### 修改浏览器自动填充 input 样式

```css
input[type="text"]:autofill {
box-shadow: 0 0 0 1000px #000 inset;
-webkit-text-fill-color: white;
}
```

另见: [:autofill](https://developer.mozilla.org/en-US/docs/Web/CSS/:autofill)

### 忽略用作间距的换行符 \<br />

```css
Expand Down

0 comments on commit e7d8b4a

Please sign in to comment.