From 88f8389cec86c5ea1016a519e07dd9e28a06a5f7 Mon Sep 17 00:00:00 2001 From: pakchrishtml <43269471+pakchrishtml@users.noreply.github.com> Date: Mon, 15 Oct 2018 23:06:21 -0400 Subject: [PATCH] Update, added vw, vh example to values part index.md (#18964) * Update index.md vw, vh values added * update: correctly added vw and vh units --- client/src/pages/guide/english/css/background-size/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/pages/guide/english/css/background-size/index.md b/client/src/pages/guide/english/css/background-size/index.md index cefd4a440c..ae8ebdacfa 100644 --- a/client/src/pages/guide/english/css/background-size/index.md +++ b/client/src/pages/guide/english/css/background-size/index.md @@ -11,9 +11,10 @@ The background-size property specifies the size of the background images. You ca .contain {background-size: contain;} .initial {background-size: initial;} .inherit {background-size: inherit;} - /* Percentage and pixel can also be used */ + /* Percentage, pixel, and viewport units can also be used */ .pixel {background-size: 50px 50px;} .percentage {background-size: 50% 50%;} +.view {background-size: 50vw 50vh;} ``` To set this property on multiple background images separate values by comma: