(Squarespace) Horizontal line to gradient color

To add a gradient to Horizontal line. Like this.

You can use this code to Custom CSS box.
If code doesn’t work, you can comment below, message or send me an email.

div.horizontalrule-block hr {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
}

You can change the color of the Horizontal line here

1 Like

@tuanphan,

:heart_suit: :heart_suit: :heart_suit: