I am trying to replicate the following footer design that uses a full width semi circle.
I’m attempting this simply with a radial-gradient background for my footer:
footer {
width: 100%;
position: relative;
bottom: 0;
background-image: radial-gradient(circle at center bottom, #387546, #387546 50%,transparent 50%);
height: 30vh;
}
<footer></footer>
How can I modify my radial-gradient to achieve this? Or is there a better method of getting the desired effect? (I’m just looking for the green semi-circle part of the design)
2
Answers
You might play with gradient size and position, and background size and position:
You can do it with a simple syntax