mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
fix
This commit is contained in:
parent
ea21de1674
commit
cc5a8a9036
@ -84,7 +84,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
> :disabled ~ label {
|
||||
> :disabled ~ label,
|
||||
> .form-control:disabled ~ label { // Required for `.form-control`s because of specificity
|
||||
color: $form-floating-label-disabled-color;
|
||||
|
||||
&::after {
|
||||
|
@ -89,7 +89,7 @@ Add the `disabled` boolean attribute on an input, a textarea or a select to give
|
||||
<label for="floatingTextareaDisabled">Comments</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2Disabled" style="height: 100px" disabled></textarea>
|
||||
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2Disabled" style="height: 100px" disabled>Disabled textarea with some text inside</textarea>
|
||||
<label for="floatingTextarea2Disabled">Comments</label>
|
||||
</div>
|
||||
<div class="form-floating">
|
||||
|
Loading…
Reference in New Issue
Block a user