I need to create this header design in HTMl for an A4 sheet.
This is the design I need:
I saw this question that helped, but I couldnt get it working right for my dimensions. Wavy shape with css
This is the original fiddle: http://jsfiddle.net/7fjSc/9/
This is what I'm tring: http://jsfiddle.net/7fjSc/1422/
#wave {
position: relative;
height: 70px;
width: 2080px;
background: #e0efe3;
}
#wave:before {
content: "";
display: block;
position: absolute;
border-radius: 100% 50%;
width: 1300px;
height: 80px;
background-color: white;
right: -5px;
top: 40px;
}
#wave:after {
content: "";
display: block;
position: absolute;
border-radius: 100% 50%;
width: 1200px;
height: 70px;
background-color: #e0efe3;
left: 0;
top: 27px;
}
EDIT I'm tring to used fixed width for an A4 has 2080px. But I guess it would be even better if we can adapt this code to be relative (100%)
Any ideias on this?