Home > front end >  How to make the white portion of the clear
How to make the white portion of the clear

Time:12-31

 & lt; Style type="text/CSS" & gt; 
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
}

. The blur {
width: 100%;
height: 400px;
The box - sizing: border - box;
Padding: 40 px 10 px;
Background - color: black.
color: white;
The filter: the blur (2 p);
position: relative;
}

. The blur ul {
display: flex;
The justify - content: space - around;
The box - sizing: border - box;
padding: 10px;
Z - index: 2;
}
. The qing {
width: 300px;
height: 400px;
background-color: white;
position: absolute;
top: 0;
Left: 40%;
Opacity: 3;
The transform: skew (- 30 deg);
- its - transform: skew (- 30 deg);
Moz - transform: skew (- 30 deg);
- o - transform: skew (- 30 deg);
- ms - transform: skew (- 30 deg);
}
</style>

 

  • Aaaaaaaaaaaaaa

  • Bbbbbbbbbbbbbbbb

  • Ccccccccccc

  • Dddddddddddddd



  • Aaaaaaaaaaaaaa

  • Bbbbbbbbbbbbbbbb

  • Ccccccccccc

  • Dddddddddddddd



  • Aaaaaaaaaaaaaa

  • Bbbbbbbbbbbbbbbb

  • Ccccccccccc

  • Dddddddddddddd





CodePudding user response:

What you said is the white area is under the white font part

CodePudding user response:

Make the font in the white area clear

CodePudding user response:

<style type="text/CSS" & gt;
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
}

. The blur {
width: 100%;
height: 400px;
The box - sizing: border - box;
Padding: 40 px 10 px;
Background - color: black.
color: white;
The filter: the blur (2 p);
position: relative;
}
Ul {
display: flex;
The justify - content: space - around;
The box - sizing: border - box;
padding: 10px;
Z - index: 2;
}
. The qing {
width: 300px;
height: 400px;
background-color: white;
position: absolute;
top: 0;
Left: 40%;
Opacity: 3;
The transform: skew (- 30 deg);
- its - transform: skew (- 30 deg);
Moz - transform: skew (- 30 deg);
- o - transform: skew (- 30 deg);
- ms - transform: skew (- 30 deg);
}
</style>






  • Aaaaaaaaaaaaaa

  • Bbbbbbbbbbbbbbbb

  • Ccccccccccc

  • Dddddddddddddd



  • Aaaaaaaaaaaaaa

  • Bbbbbbbbbbbbbbbb

  • Ccccccccccc

  • Dddddddddddddd



  • Aaaaaaaaaaaaaa

  • Bbbbbbbbbbbbbbbb

  • Ccccccccccc

  • Dddddddddddddd





CodePudding user response:

Is not this effect,

CodePudding user response:

Should be this effect
  • Related