Background color and transparency settingsAs shown above, if it is the first picture, you need to add a gray background and white "Cover" word in the upper left corner, and the background color needs to be transparent. First, you need to know the rgba() function. The rgba() function uses the superposition of red (R), green (G), blue (B), and transparency (A) to generate a variety of colors. RGBA stands for Red, Green, Blue, Alpha (English: Red, Green, Blue, Alpha).
Here is the Vue code: First, set the parent element position: relative; then set the child element position: absolute; adjust the position by setting left, right, top, and bottom, and then set the background color background: rgba (34,34,34,0.5); Set the background color of the button to transparentUse when setting the style background-color: unset 3.1.0 sets the background color There is no background color set for login The above is my personal experience. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: MySQL cross-database transaction XA operation example
>>: How to modify the mysql table partitioning program
Table of contents What is cgroup Composition of c...
The difference between http and https is For some...
In web projects we often use the timeline control...
Effect: First create five vue interfaces 1.home.v...
Table of contents 1 Introduction to user variable...
Get the local public IP address through the conta...
How to use the MySQL authorization command grant:...
Table of contents FileReader reads local files or...
This article example shares the specific code of ...
1. Import the basic style of external CSS files U...
Table of contents 1. Detailed explanation of MySQ...
0x0 Test Environment The headquarters production ...
[LeetCode] 176. Second Highest Salary Write a SQL...
Basic syntax: <input type="hidden" na...