Skip to content

Commit 39dfff6

Browse files
committed
feat: add font family font size and element states videos in styles bar doc
1 parent de002fe commit 39dfff6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/02-Live Preview/03-styles-bar.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ The **State** dropdown in the popover lets you style the element's `hover`, `foc
4343

4444
For any other state, type it in the **Create new rule** field, for example `.button:disabled`.
4545

46+
<VideoPlayer
47+
src="https://docs-images.phcode.dev/videos/styles-bar/element-states.mp4"
48+
/>
49+
4650
> States need a CSS rule to live in, so they are not available when saving to inline styles.
4751
4852
## Font Family
@@ -55,12 +59,20 @@ Opens a font picker with three tabs:
5559

5660
Fonts already used on the page appear in an **On this page** group, so you can reuse them quickly.
5761

62+
<VideoPlayer
63+
src="https://docs-images.phcode.dev/videos/styles-bar/font-family.mp4"
64+
/>
65+
5866
## Font Size
5967

6068
Sets the font size. Type a value or use the **+/-** buttons. Click the unit button to switch between `px`, `em`, `rem`, and `%`, and the value is converted to the new unit automatically.
6169

6270
> These shortcuts work in every number field of the Styles Bar: scroll over a field to change its value, hold `Shift` while clicking **+/-** for bigger steps `(x10)`, or hold `Alt` for smaller ones `(x0.1)`.
6371
72+
<VideoPlayer
73+
src="https://docs-images.phcode.dev/videos/styles-bar/font-size.mp4"
74+
/>
75+
6476
## Text Style
6577

6678
The text style popover has two tabs.

0 commit comments

Comments
 (0)