10000 Added explanation for rendering of multiple values (#909) · tinymachine/vuejs.org@8ca2837 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ca2837

Browse files
Paul Verbeek-Mastkazupon
authored andcommitted
Added explanation for rendering of multiple values (vuejs#909)
1 parent 5d6681e commit 8ca2837

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,5 @@ Starting in 2.3 you can provide an array of multiple (prefixed) values to a styl
202202
``` html
203203
<div v-bind:style="{ display: ['-webkit-box', '-ms-flexbox', 'flex'] }">
204204
```
205+
206+
This will only render the last value in the array which the browser supports. In this example, it will render `display: flex` for browsers that support the unprefixed version of flexbox.

0 commit comments

Comments
 (0)
0