Skip to content

Commit c6cbd74

Browse files
committed
feat: update doc to cover this new selector in save changes to list
1 parent b9fd3ac commit c6cbd74

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

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

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

50+
If your CSS already has state rules for the element, like `.button:hover`, they also show up in the **Save changes to** list, grouped at the bottom after all the regular selectors. Picking one switches to that rule and turns its state on for editing.
51+
5052
<VideoPlayer
5153
src="https://docs-images.phcode.dev/videos/styles-bar/element-states.mp4"
5254
/>

0 commit comments

Comments
 (0)