css禁止双击dom节点被选中user-select:none

/*数量加减时,禁止双击选中*/
span.num{
  moz-user-select: -moz-none;
  -moz-user-select: none;
  -o-user-select:none;
  -khtml-user-select:none;
  -webkit-user-select:none;
  -ms-user-select:none;
  user-select:none;
}

http://www.51xuediannao.com/html+css/htmlcssjq/user-select.html

posted @ 2018-01-30 17:05  Shimily  阅读(246)  评论(0)    收藏  举报