Skip to content

Instantly share code, notes, and snippets.

@yowainwright
Created November 30, 2017 09:01
Show Gist options
  • Save yowainwright/a1689ee30d9f17b8602b7de3e2a96c35 to your computer and use it in GitHub Desktop.
Save yowainwright/a1689ee30d9f17b8602b7de3e2a96c35 to your computer and use it in GitHub Desktop.
Useful Progress Bar SCSS Mixin
@mixin progress-bar-color($valueColor: $color-brand-contrast, $backgroundColor: transparent) {
background-color: $backgroundColor;
color: $valueColor;
&::-moz-progress-bar {
background-color: $valueColor;
}
&::-webkit-progress-bar {
background-color: $backgroundColor;
}
&::-webkit-progress-value {
background-color: $valueColor;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment