a represents transparency (change between 0-1, 0 represents completely transparent, 1 means opaque;)
background-color:rgba(255,0,0,0.5)
background-color:rgba(255,0,0,.5)
When rgb is equal, it represents a gray color
The above is the content of the notes on the third day of HTML5. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn