![](http://codehints.in/wp-content/uploads/2018/03/comp1100.gif)
The new selector is something like this: .form-group.label-floating input.form-control:-webkit-autofill ~ label.control-label By adding the following lines to my site’s CSS file it fixes the issue
![](https://codehints.in/wp-content/uploads/2018/03/WhatsApp-Image-2021-11-10-at-10.36.36-AM.jpeg)
.form-group.label-floating input.form-control:-webkit-autofill ~ label.control-label { top: -30px; left: 0; font-size: 12px; line-height: 1.07142857; }