Replies: 1 comment 2 replies
-
you miss .form-control,
.form-select,
.form-range {
&:required {
...
.disabled&,
[disabled]& {
...
}
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I did not see anywhere that the 'required' attribute was handled, therefore I have created the followng SASS:
.form-control &:not([type=file]) &:required @include auto-duo-gradient($form-required-bg,5%)
Which generates the following:
.form-control:not([type=file]):required { background: linear-gradient(#fff3f5, #FFD9E0) !important; color: #000000 !important; }
Regards,
Rich
Beta Was this translation helpful? Give feedback.
All reactions