mirror of https://github.com/twbs/bootstrap.git
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;
|
color: $form-floating-label-disabled-color;
|
||||||
|
|
||||||
&::after {
|
&::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>
|
<label for="floatingTextareaDisabled">Comments</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-floating mb-3">
|
<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>
|
<label for="floatingTextarea2Disabled">Comments</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-floating">
|
<div class="form-floating">
|
||||||
|
|
Loading…
Reference in New Issue