Skip to content

Commit 9354c2e

Browse files
committed
feat: add text style background color and border outline videos in styles bar doc
1 parent 39dfff6 commit 9354c2e

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
@@ -94,6 +94,10 @@ The **Spacing** tab:
9494

9595
To learn more about these properties, see [MDN's text styling guide](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Text_styling/Fundamentals).
9696

97+
<VideoPlayer
98+
src="https://docs-images.phcode.dev/videos/styles-bar/text-style.mp4"
99+
/>
100+
97101
> Looking for bold? Use the font weight slider.
98102
99103
## Background Color
@@ -105,6 +109,10 @@ The **Background color** button shows the element's current background color. Cl
105109
- The **eyedropper** lets you pick a color from anywhere on the page.
106110
- **Swatches** shown on the left side displays all the colors already used in the page, plus a set of common colors.
107111

112+
<VideoPlayer
113+
src="https://docs-images.phcode.dev/videos/styles-bar/background-color.mp4"
114+
/>
115+
108116
> The eyedropper is not available in Firefox, Safari and in the Linux desktop app.
109117
110118
## Text Color
@@ -130,6 +138,10 @@ The **Outline** tab has the same style, width, and color options, plus:
130138

131139
> An outline is drawn outside the element's border and takes up no space on the page.
132140
141+
<VideoPlayer
142+
src="https://docs-images.phcode.dev/videos/styles-bar/border-outline.mp4"
143+
/>
144+
133145
## Box Model
134146

135147
The popover has three tabs, **Size**, **Padding**, and **Margin**. They sit together because they measure one element from the inside out.

0 commit comments

Comments
 (0)