在需要解决这种情况的css样式下,加入
height: 100%;
-moz-user-select: none; /*火狐*/
-webkit-user-select: none; /*webkit浏览器*/
-ms-user-select: none; /*IE10*/
-khtml-user-select: none; /*早期浏览器*/
user-select: none;
如果要全局,就在最外层的div或者body下面加
在需要解决这种情况的css样式下,加入
height: 100%;
-moz-user-select: none; /*火狐*/
-webkit-user-select: none; /*webkit浏览器*/
-ms-user-select: none; /*IE10*/
-khtml-user-select: none; /*早期浏览器*/
user-select: none;
如果要全局,就在最外层的div或者body下面加