+ 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 Réponses
+ 16
+ 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🤯