From 0e4345f2008252e140cea3b51a57647916b32872 Mon Sep 17 00:00:00 2001 From: Ninjirate <44177938+Ninjirate@users.noreply.github.com> Date: Mon, 15 Oct 2018 23:43:33 -0500 Subject: [PATCH] Single value lengths (#19399) Added note for auto value if only one length parameter is specified. --- client/src/pages/guide/english/css/background-size/index.md | 2 ++ 1 file changed, 2 insertions(+) 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 ae8ebdacfa..415a8c48e8 100644 --- a/client/src/pages/guide/english/css/background-size/index.md +++ b/client/src/pages/guide/english/css/background-size/index.md @@ -16,6 +16,8 @@ The background-size property specifies the size of the background images. You ca .percentage {background-size: 50% 50%;} .view {background-size: 50vw 50vh;} ``` +Note: If using pixel or percentage for length and you only specify one value, +the second one will be set to auto by default. To set this property on multiple background images separate values by comma: ```css