Skip to content

Commit 18eb6b0

Browse files
authored
Update class-and-style.md
Translate ":style directives can also coexist with regular style attributes, just like :class." in Russian
1 parent 74b30dd commit 18eb6b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,15 @@ data() {
323323

324324
Аналогично можно использовать и вычисляемые свойства, возвращающие объект стилей.
325325

326-
`:style` directives can also coexist with regular style attributes, just like `:class`.
326+
`:style` директивы могут сосуществовать с обычными атрибутами стиля, как и `:class`.
327327

328-
Template:
328+
Шаблон:
329329

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

334-
It will render:
334+
Рендер:
335335

336336
```vue-html
337337
<h1 style="color: red; font-size: 1em;">hello</h1>

0 commit comments

Comments
 (0)