除了一个文本框和按钮外,使整个html页面禁用/不可选

时间:2016-02-16 11:30:55

标签: php jquery html

除了一个文本框和按钮之外,我想让整个页面禁用/取消选择。任何人都可以帮助我吗?

1 个答案:

答案 0 :(得分:0)

试试这个 -

*:not([type='textbox']):not(button){
    -webkit-user-select: none;
    -moz-user-select: none;   
    -ms-user-select: none;    
    user-select: none;    
    cursor:default;
}
相关问题