1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

Set cursor pointer on input search cancel button

This commit is contained in:
Mark Otto
2025-08-05 02:21:08 -07:00
parent b850fcbe49
commit b68015c08a

View File

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