Css曲线页脚

Css曲线页脚

问题描述:

只有用css才能实现这个页脚? enter image description hereCss曲线页脚

感谢

+1

请仔细阅读[问]。 – Xufox

请试试这个:

.container { 
 
    background: yellow; 
 
    height: 180px; 
 
    width: 400px; 
 
} 
 

 
.box { 
 
    width:400px; 
 
    height:80px; 
 
    background-color: white; 
 
    border:1px solid white; 
 
    border-width:0 0 13px 0; 
 
    margin:1rem auto; 
 
    -webkit-border-radius:0% 0% 50% 50%/0% 0% 50% 50%; 
 
    -moz-border-radius:0% 0% 50% 50%/0% 0% 50% 50%; 
 
    border-radius:0% 0% 50% 50%/0% 0% 50% 50%; 
 
}
<div class="container"><div class="box"></div></div>