Open this example in the interactive library
Source code
<style>
.demo {
background-image: linear-gradient(to right, #fef3c7, #fff7ed 55%, #fecdd3);
}
</style>
<div class="demo">Use a middle gradient stop</div>
Use a middle gradient stop with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
background-image: linear-gradient(to right, #fef3c7, #fff7ed 55%, #fecdd3);
}
</style>
<div class="demo">Use a middle gradient stop</div>