1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Add an artificial background to floating labels (#37125)

This commit is contained in:
Louis-Maxime Piton
2022-10-06 08:12:00 +02:00
committed by GitHub
parent 5975ca65c5
commit bf6240dad9
2 changed files with 12 additions and 0 deletions

View File

@@ -1002,6 +1002,7 @@ $form-floating-padding-x: $input-padding-x !default;
$form-floating-padding-y: 1rem !default;
$form-floating-input-padding-t: 1.625rem !default;
$form-floating-input-padding-b: .625rem !default;
$form-floating-label-height: 1.875em !default;
$form-floating-label-opacity: .65 !default;
$form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
$form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;