禁止选择文本样式

.noselect {

  -webkit-touch-callout: none; /* iOS Safari */

  -webkit-user-select: none; /* Chrome/Safari/Opera */

  -khtml-user-select: none; /* Konqueror */

  -moz-user-select: none; /* Firefox */

  -ms-user-select: none; /* Internet Explorer/Edge */

  user-select: none; /* Non-prefixed version, currently not supported by any browser */

}

posted @ 2017-06-02 12:31  前端开发-周先生  阅读(323)  评论(0编辑  收藏  举报