简体   繁体   中英

Change a default style of checkbox in firefox

I have too big checkboxes in my Firefox 66 browser

例

How to scale down the default checkboxes, or change their default style in the way it will work for any web page.

For example on chromium browser, this page looks like:

在此处输入图片说明

HTML:

在此处输入图片说明

As it seems to display well in Chrome, try to disable the default appearance. Use this in your CSS file:

input[type="checkbox"]{
    -moz-appearance:none;
}

Further reading here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM