Skip to content

Commit c7daf66

Browse files
committed
Update readme
1 parent d894823 commit c7daf66

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ Generate an image from the css-doodle source file. The source file can be a `.cs
4040
* `-o, --output`: Custom output filename of the generated image.
4141
* `-x, --scale`: Scale factor of the generated image, defaults to 1.
4242
* `-s, --selector`: CSS selector to target the rendered node, defaults to `css-doodle`.
43-
* `-d, --delay`: Delay in milliseconds after the image is rendered.
43+
* `-d, --delay`: Delay after the image is rendered, e.g, `2s`.
44+
* `-t, --time`: Record screen for a specific time, e.g, `10s.
4445

4546
```bash
4647
cssd render
@@ -50,6 +51,12 @@ cssd render code.css -x 4
5051
cssd render https://codepen.io/yuanchuan/pen/MQEeJo
5152
```
5253

54+
Screen recording:
55+
56+
```bash
57+
cssd render -t 10s
58+
```
59+
5360
### preview
5461
Open a window to preview the css-doodle source file. The source file can be either `.css` or `.cssd`.
5562

0 commit comments

Comments
 (0)