<div></div>
div {
position: relative;
width: 300px;
height: 160px;
border-radius: 25px;
overflow: hidden;
filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.5));
}
div::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background-image: radial-gradient(circle at 100% 0%, #fec38e, #ff7700 70%);
border-radius: inherit;
transform: skewY(-12deg);
transform-origin: 100% 50%;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.