In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what the an in rgba means. I hope you will get something after reading this article. Let's discuss it together.
RGBA Color
RGB is a color standard, from the red (R), green (G), blue (B) changes and superimposed on each other to get a variety of colors. To put it bluntly, RGBA adds a transparency channel Alpha on the basis of RGB.
Syntax:
Rgba (RMagna Gregory BMaga)
Description:
R: red value (Red)
G: green value (Green)
B: blue value (Blue)
A: transparency (Alpha)
R, G, B parameters can be positive integers or percentages. The range of positive integer values is 0: 255 and the range of percentage values is 0. 0% 100. 0%. Values that are out of range will be subject to their nearest limit. Not all browsers support the use of percentage values.
Parameter An is transparent, similar to the opacity attribute, with values ranging from 0. 0 to 1. 0 and cannot be negative. Here is the correct use of RGBA colors:
Rgba (255pr. 255pr 0pr 0.5)
Rgba (50% 50% 80% 50% 0.5)
For example:
CSS3RGBA Color
* {padding:0;margin:0;}
Ul
{
Display:inline-block
List-style-type:none
Width:200px
}
Li
{
Height:30px
Line-height:30px
Font-size:20px
Font-weight:bold
Text-align:center
}
/ * 1st li*/
Li:first-child
{
Background-color:#FF00FF
}
/ * 2nd li*/
Li:nth-child (2)
{
Background-color:rgba (255pr. 0pr. 255pr 0.5)
}
/ * 3rd li*/
Li:last-child
{
Background-color:#FF00FF
Opacity:0.5
}
Php Chinese website
Php Chinese website
Php Chinese website
After reading this article, I believe you have a certain understanding of "what is the meaning of an in rgba". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.