.example { box-shadow: 0 0 20px #000; background: linear-gradient(to right, #fd746c, #2c3e50); box-decoration-break: clone; /* or "slice" (default) */ }