My footer has a unique wavy design that functions as a block, but I'm facing an issue where the transparent part of the wave appears white because it's taking up space as a block.
Below is the CSS code being used:
.wave{
background: rgba(255, 255, 255, 0);
height: 15px;
position: relative;
}
.wave::before, .wave::after{
border-bottom: 5px solid #69c0c0;
}
.wave::before{
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 10px;
background-size: 20px 40px;
background-image:
radial-gradient(circle at 10px -15px, transparent 20px, #69c0c0 21px);
}
.wave::after{
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 15px;
background-size: 40px 40px;
background-image:
radial-gradient(circle at 10px 26px, #69c0c0 20px, transparent 21px);
}
Is there a way to maintain the block function of the footer while adjusting the background color to match the color of the current page it's on?