Is it possible to change color on the divider?

Would like to change color to the divider but don’t want to use the predefined list, Would like to use black or be able to pass a hex code.

You can insert a css to style the hr (horizontal rule) tag and change the color or even its width. Here is an example.

st.html(
    '''
    <style>
    hr {
        border-color: darkblue;
    }
    </style>
    '''
)
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.