File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
4647cssd render
@@ -50,6 +51,12 @@ cssd render code.css -x 4
5051cssd render https://codepen.io/yuanchuan/pen/MQEeJo
5152```
5253
54+ Screen recording:
55+
56+ ``` bash
57+ cssd render -t 10s
58+ ```
59+
5360### preview
5461Open a window to preview the css-doodle source file. The source file can be either ` .css ` or ` .cssd ` .
5562
You can’t perform that action at this time.
0 commit comments