开发者

HTML checkbox CSS: Cursor default or pointer?

开发者 https://www.devze.com 2023-03-19 12:11 出处:网络
Is there 开发者_运维百科a definitive standard for the cursor on an HTML checkbox? Default, pointer, or (shudder) text?According to CSS Cursor Property, it appears that the default setting for cursor

Is there 开发者_运维百科a definitive standard for the cursor on an HTML checkbox?

Default, pointer, or (shudder) text?


According to CSS Cursor Property, it appears that the default setting for cursor is auto and it lets the browser decide what is to be displayed when a user interacts with a checkbox. I guess there would be a "definitive standard" for each browser, so I guess there really isn't a standard? Do whatever you'd like while keeping it reasonable (no text cursors, please!)

Most checkboxes that I come across use the default cursor (but maybe that's due to my use of Google Chrome).


Depends on what is your definition of "Definitive standard". Default is default, which means without any modification, the look will be shown with default settings (pointer).


In the web world, no standard exist. Even W3C never issues standards, but recommendations. Therefore, whatever you like to do, you're free to do. But there are some guidelines, conventions, and recommendations which is better to be followed, if you want to conform to the cummunity.

0

精彩评论

暂无评论...
验证码 换一张
取 消