Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· OpenAIAi2 WildChat-4.8M (AI2)

create a custom css scroll with this color: #5E4AE3. make it modern.

  1. User

    create a custom css scroll with this color: #5E4AE3. make it modern.

  2. Assistant

    To create a custom CSS scroll with the color #5E4AE3, you can use the following code:

    ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background-color: #ffffff; } ::-webkit-scrollbar-thumb { background-color: #5E4AE3; }

    This code sets the width of the scrollbar to 6 pixels, sets the background color of the scrollbar track to white, and sets the background color of the scrollbar thumb to #5E4AE3.

    To make it modern, you can add some additional styles, such as:

    ::-webkit-scrollbar { width: 6px; background-color: #ffffff; } ::-webkit-scrollbar-track { background-color: #ffffff; } ::-webkit-scrollbar-thumb { background-color: #5E4AE3; border-radius: 3px; }

    This code sets the background color of the scrollbar to white, and adds a border-radius to the scrollbar thumb to give it a more modern look. You can adjust these styles to fit the look and feel of your website.