css 射线实现方法 一个斜的四边形 .top_ad_out::before { content: ''; position: absolute; z-index: -1; 336px; height: 250px; margin-top: 67px; margin-left: -4px; background: linear-gradient(to bottom, #fff, #cad5eb); -ms-transform: skewX(20deg); transform: skewX(20deg); -ms-transform-origin: right bottom; transform-origin: right bottom; }