Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

style scroll react csss

const styles = theme => ({
  '@global': {
    '*::-webkit-scrollbar': {
      width: '0.4em'
    },
    '*::-webkit-scrollbar-track': {
      '-webkit-box-shadow': 'inset 0 0 6px rgba(0,0,0,0.00)'
    },
    '*::-webkit-scrollbar-thumb': {
      backgroundColor: 'rgba(0,0,0,.1)',
      outline: '1px solid slategrey'
    }
  }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #style #scroll #react #csss
ADD COMMENT
Topic
Name
6+8 =