Skip to content

Commit 1533bf0

Browse files
committed
docs: clarify that :style can coexist with regular style attributes like class
1 parent 8401112 commit 1533bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/class-and-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Again, object style binding is often used in conjunction with computed propertie
328328
Template:
329329

330330
```vue-html
331-
<h1 style="color: red" :style="'font-size: 1em'">hello</h1>
331+
<h1 style="color: red" :style="'font-size: 1em'">hello</h1>
332332
```
333333

334334
It will render:

0 commit comments

Comments
 (0)