반응형
css 에 아래사항 기재
html, body{
height: 100%;
margin: 0px;
/* 드래그방지 */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
결과
See the Pen no drag text by noransmile (@noransmile) on CodePen.
'Javascript' 카테고리의 다른 글
ajax 동기방식 (0) | 2022.04.08 |
---|---|
javascript 파일 읽기, file read, euc-kr, utf-8 (0) | 2022.04.05 |
json 데이터를 이용한 datatable (0) | 2022.03.25 |
PayloadTooLargeError: too many parameters 또는 PayloadTooLargeError: request entity too large (0) | 2022.03.18 |
PM2 (0) | 2021.05.03 |