If your form layout allows it, you can swap the .{valid|invalid}
-feedback classes for.{valid|invalid}
-tooltip classes to display validation feedback in a styled tooltip. Be sure to have a parent with position: relative
on it for tooltip positioning.
Not interested in custom validation feedback messages or writing JavaScript to change form behaviors? Depending on your browser and OS,While these feedback styles cannot be styled with CSS, you can still customize the feedback text through JavaScript.
Custom feedback styles apply custom colors, borders, focus styles, and background icons to better communicate feedback.Background icons for <select>
s are only available with .form-select
and not .form-control.