fixed indentation (removed tab) (#32173)

This commit is contained in:
Igor
2018-12-10 01:06:10 +01:00
committed by Randell Dawson
parent d61dba9110
commit bf3d5854f4

View File

@ -52,7 +52,7 @@ Alternatively you can use a transparent rgba value like this:
.class-name{ .class-name{
background-color: rgba(0,0,0,.5); 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) equals 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.