From 20f85f708ad0122042e97bd21c57aa8fdbcb4b95 Mon Sep 17 00:00:00 2001 From: BladeQue12 <36766775+BladeQue12@users.noreply.github.com> Date: Thu, 15 Nov 2018 02:31:17 -0500 Subject: [PATCH] corrected line 53 (#23284) The writer of this forgot to add the letter "e" in the word "equals" so the sentence should read "An alpha value of 1 equals 100%, and 0.5 (.5 for short) equals 50%." --- guide/english/css/background-opacity/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/css/background-opacity/index.md b/guide/english/css/background-opacity/index.md index e0e31a9bdd..ae75acaba5 100644 --- a/guide/english/css/background-opacity/index.md +++ b/guide/english/css/background-opacity/index.md @@ -50,7 +50,7 @@ Alternatively you can use a transparent rgba value like this: background-color: rgba(0,0,0,.5); } ``` -The example above sets the background to be black with 50% opacity. The last value of an rgba value is the alpha value. An alpha value of 1 equals 100%, and 0.5 (.5 for short) quals 50%. We use this method to add transparency to an element without affecting the content inside. +The example above sets the background to be black with 50% opacity. The last value of an rgba value is the alpha value. An alpha value of 1 equals 100%, and 0.5 (.5 for short) equals 50%. We use this method to add transparency to an element without affecting the content inside. #### Some Info Using the rgba value is most preferable when the background has content like text compared to using the background-color property then going on to use the opacity property. First, it's shorter and second, it eliminates the problem of having the content's transparency change with that of its background, if it's something you do not want.