Skip to content

Instantly share code, notes, and snippets.

@amattn
Last active January 28, 2021 17:49

Revisions

  1. amattn revised this gist Jan 28, 2021. No changes.
  2. amattn created this gist Jan 28, 2021.
    22 changes: 22 additions & 0 deletions input.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    @import "tailwindcss/base";
    @import "tailwindcss/components";
    @import "tailwindcss/utilities";

    /* Works on Firefox */
    pre {
    scrollbar-color: #6B7280 #1f2937;
    }

    /* Works on Chrome, Edge, and Safari */
    pre::-webkit-scrollbar {
    width: 12px;
    }
    pre::-webkit-scrollbar-track {
    background: #1f2937;
    }

    pre::-webkit-scrollbar-thumb {
    background-color: #6B7280;
    border-radius: 20px;
    border: 3px solid #1f2937;
    }