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

Board horizontal scroll add shadows #33

Open
Cannonb4ll opened this issue May 28, 2022 · 0 comments
Open

Board horizontal scroll add shadows #33

Cannonb4ll opened this issue May 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Cannonb4ll
Copy link
Contributor

To indicate that there's more content to the right to scroll too.

.scroll-shadows {
  background-image: /* Shadows */
          linear-gradient(to right, rgba(249 250 251), rgba(249 250 251)),
          linear-gradient(to right, rgba(249 250 251), rgba(249 250 251)),
            /* Shadow covers */
          linear-gradient(to right, rgba(0, 0, 0, .25), rgba(255, 255, 255, 0)),
          linear-gradient(to left, rgba(0, 0, 0, .25), rgba(255, 255, 255, 0));

  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 20px 100%, 20px 100%, 10px 100%, 10px 100%;

  /* Opera doesn't support this in the shorthand */
  background-attachment: local, local, scroll, scroll;
}
@Cannonb4ll Cannonb4ll self-assigned this May 28, 2022
@Cannonb4ll Cannonb4ll added the enhancement New feature or request label May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant