user-select, user-drag
The user-select CSS property controls whether the user can select text. This doesn't have any effect on content loaded as part of a browser's user interface (its chrome), except in textboxes.
텍스트 드래그 멈추기
user-drag
style="user-select: none;"
user-drag: none;
User select is specific to text as mentioned in User Select - MDN web Docs by default, user-select is enable to texts. To disable that property use the below-mentioned CSS stylings.
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
User Drag is generic, that can be applied to div, image, p, etc.,
<p draggable="true">Contents</p> //Enable dragging
<img src="image.jpg" draggable="false" alt="can't be dragged"></img> //Disable dragging
user-select는 text에 국한되는 반면에 user-drag와 같은 경우는 dom elem의 drag에도 적용된다.
Author And Source
이 문제에 관하여(user-select, user-drag), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@hqillz/user-select저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)