Skip to content

Commit

Permalink
start.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ajn404 committed Jul 20, 2023
1 parent de778a9 commit 60429d1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
Submodule rust updated from 000000 to 28185a
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
type ShortPoem = {
author: string;
} & (
| {
kigo: string;
type: "haiku";
}
| {
meter: number;
type: "vellanelle";
}
);
11 changes: 11 additions & 0 deletions docs/markdown/notes/extends.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,14 @@ n-graymoon
root
```

### 浏览器打印添加背景颜色

如果您想在浏览器中打印时显示背景颜色,可以尝试在设置背景颜色的元素下添加以下代码:

```css
-webkit-print-color-adjust:exact;
-moz-print-color-adjust:exact;
-ms-print-color-adjust:exact;
print-color-adjust:exact;
```

0 comments on commit 60429d1

Please sign in to comment.