Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/guide/essentials/class-and-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,15 @@ data() {

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

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

Template:
Шаблон:

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

It will render:
Рендер:

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