Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psudeo element: scrollbar is not working #378

Open
Neha-takhi-cipl opened this issue Apr 25, 2018 · 0 comments
Open

psudeo element: scrollbar is not working #378

Neha-takhi-cipl opened this issue Apr 25, 2018 · 0 comments

Comments

@Neha-takhi-cipl
Copy link

Neha-takhi-cipl commented Apr 25, 2018

Hi, I have to customize the horizontal scrollbar. But psuedoclass scrollbar is not being added.
HTML Content is:

<div className="menuBar">
       <Container>
         <Row>
           <Col>
             <ul className="navbar">
               <Link to={null}>Some Content</Link>
               <li>
                 <Link to={null}>Some Content </Link>
               </li>
               <li>
                 <Link to={null}>Some Content</Link>
               </li>
               <li>
                 <Link to={null}>Some Content</Link>
               </li>
             </ul>
           </Col>
           <Col>
             <ul className="navbar borderLeft">
               <Link to={null}>Some Content </Link>
               <li>
                 <Link to={null}>Some Content</Link>
               </li>
               <li>
                 <Link to={null}>Some Content</Link>
               </li>
               <li>
                 <Link to={null}>Some Content </Link>
               </li>
             </ul>
           </Col>
           <Col>
             <ul className="navbar borderLeft">
               <Link to={null}>Some Content</Link>
               <li>
                 <Link to={null}>Some Content</Link>
               </li>
               <li>
                 <Link to={null}>Some Content</Link>
               </li>
               <li>
                 <Link to={null}>Some Content</Link>
               </li>
             </ul>
           </Col>
         </Row>
       </Container>
     </div>

Css is

"& .menuBar": {
   "overflowX": "auto",
   "::scrollbar": {
     width: "20px",
   },
   /* Track */
   "::scrollbarTrack": {
     boxShadow: "inset 0 0 5px grey",
     borderRadius: "10px",
   },

   /* Handle */
   "::scrollbarThumb": {
     background: "red",
     borderRadius: "10px",
   },

   /* Handle on hover */
   "::scrollbarThumb:hover": {
     background: "#b30000",
   },
 }
@Neha-takhi-cipl Neha-takhi-cipl changed the title psudeoclass: scrollbar is not working psudeo element: scrollbar is not working Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant