Linear gradient on a divider

Is it possible to apply a gradient color on a divider? right now I did it with this class
background-image: linear-gradient(to right,#1c1c1c,#e9e8e7) !important; and with 0 padding but I want to know if its possible with the custom class inside blocs!

The divider users a border. And as far as I know there is no CSS support to add a gradient to a border.

This will sort of fake it.

Create a class called .divider and give it a very small vertical padding like 1px or something. You will probably have to tweak it.

Thank you :slight_smile: