+ 13
[SOLVED] How to make a transparent hole with css?
https://code.sololearn.com/WWlJPacxK132/?ref=app This is the code. I wanna make the div (with id space) a hole through which the body background gradient is visible.
10 Answers
+ 16
fixed šš
https://code.sololearn.com/WkP30h7RvrO4/?ref=app
+ 9
Atomic Wave ~ā thank you so much š... btw how does it work? How does background-attachment property make it possible?
+ 9
https://code.sololearn.com/WMR2JaSzItxK/?ref=app
I found only this solution, because I saw in Atomic Wave ~ā help code (https://code.sololearn.com/WkP30h7RvrO4/?ref=app) , if we scroll down, the background of the space changes strangely.
But I think my solution isn't very good. š
+ 7
Atomic Wave ~ā oh I see šÆ.. thank you!
+ 6
Spentify thanks! š
+ 5
If I use opacity, then the blue block will show up. I want the body's background gradient to be visible directly.
+ 5
Spentify Oh ok... no problem šš
+ 5
Bartikaš¶ you are welcome āŗļø
idk how it works šI noticed it when I was making gradients in my code and then I added this property didn't knowing what it does , suddenly all the gradients in the page was in sync with eachotherš¤Æ