SOURCE

console 命令行工具 X clear

                    
>
console
<div class="ryecontainer">
    <h2>标题</h2>
    <hr>
    <p>段落内容,在容器中显示!</p>
</div>
.ryecontainer {
  width: 300px;
  height: 200px;
  background: #ccf;
  border-radius: 90px;
  position: relative;
  z-index: 1;
}
.ryecontainer::before {
  content:" "
  width: 300px;
  height: 200px;
  background: #cff;
  border-radius: 90px;
  display: block;
  position: absolute;
  transform: skewY(45deg);
  z-index: -1;
}