What CSS changes the cursor on a disabled range thumb to default?
On 09/03/2020 08:41, Andrew Poulos wrote:
What CSS changes the cursor on a disabled range thumb to default?
Try this:
<https://developer.mozilla.org/en-US/docs/Web/CSS/cursor>
I have an input of type range and this CSS (there are other
declaration for Firefox etc):
input[type="range"]::-webkit-slider-thumb {π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π
cursor: pointer;π π π π π π π π π π π π π
This displays as expected but when the input is disabled the cursor
on the thumb remains as a pointer. I need the cursor to change to
default. I tried adding
but that made no difference. What CSS changes the cursor on a
disabled range thumb to default?
In Message: <B6GdnUQ9m7nWnPvDnZ2dnUU7-fPNnZ2d@westnet.com.au>
Andrew Poulos <ap_prog@hotmail.com> wrote:
I have an input of type range and this CSS (there are other
declaration for Firefox etc):
[snip]
input[type="range"]::-webkit-slider-thumb {π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π
[snip]
cursor: pointer;π π π π π π π π π π π π π
This displays as expected but when the input is disabled the cursor
on the thumb remains as a pointer. I need the cursor to change to
default. I tried adding
[snip]
but that made no difference. What CSS changes the cursor on a
disabled range thumb to default?
input[type="range"]:disabled::-webkit-slider-thumb {
cursor:default;
}
On 10/03/2020 8:06 am, James Kirk wrote:
Andrew Poulos <ap_prog@hotmail.com> wrote:
I have an input of type range and this CSS (there are other
declaration for Firefox etc):
[snip]
input[type="range"]::-webkit-slider-thumb {π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π π
[snip]
cursor: pointer;π π π π π π π π π π π π π
This displays as expected but when the input is disabled the cursor
on the thumb remains as a pointer. I need the cursor to change to
default. I tried adding
[snip]
but that made no difference. What CSS changes the cursor on a
disabled range thumb to default?
input[type="range"]:disabled::-webkit-slider-thumb {
cursor:default;
}
I tried this one and it worked. Thanks.
On Tue, 10 Mar 2020 09:45:26 +1100, Andrew Poulos wrote:
On 10/03/2020 8:06 am, James Kirk wrote:
Andrew Poulos <ap_prog@hotmail.com> wrote:
but that made no difference. What CSS changes the cursor on a
disabled range thumb to default?
input[type="range"]:disabled::-webkit-slider-thumb {
cursor:default;
}
I tried this one and it worked. Thanks.
On all browsers?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:40:29 |
Calls: | 6,642 |
Calls today: | 2 |
Files: | 12,190 |
Messages: | 5,325,746 |