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

Set cursor pointer on input search cancel button (#41639)

* Set cursor pointer on input search cancel button

* Update _reboot.scss
This commit is contained in:
Mark Otto
2025-08-20 11:13:33 -07:00
committed by GitHub
parent 26c86ba875
commit 47c75b8492

View File

@@ -534,6 +534,12 @@ legend {
[type="search"] {
-webkit-appearance: textfield; // 1
outline-offset: -2px; // 2
// 3. Better affordance and consistent appearance for search cancel button
&::-webkit-search-cancel-button {
cursor: pointer;
filter: grayscale(1);
}
}
// 1. A few input types should stay LTR