Floating labels #40966
-
Hello everyone! I have a little problem and I can't solve it. I'm using Floating labels and I'm not able to adjust a style. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As an example, let's assume we want to apply a transparent background to floating labels and write the code accordingly. Access the element using the .form-floating>.form-control:focus~label::after { background-color: transparent; } |
Beta Was this translation helpful? Give feedback.
As an example, let's assume we want to apply a transparent background to floating labels and write the code accordingly.
Access the element using the
:after
pseudo-selector as shown in the code below.