새소식

반응형
WEB/HTML

input 태그 커서 없애는 방법 how to remove blinking input?

  • -
반응형

2024-03-11


 

사진: Unsplash 의 NEOM


1. 방법

 

inupt 태그 속성에서 caret-color: transparent; 해당 부분만 추가하면 커서가 블링크 되는 것을 지울 수 있다.

 

caret-color: transparent;

2. 출처

https://stackoverflow.com/questions/9333044/how-to-hide-blinking-cursor-in-input-text

 

how to hide blinking cursor in input text?

I want to make something which would look like a select input but is actually not, here are the steps. I made an <input type="text">. I added a background-image, which will show a "select a...

stackoverflow.com


메인 이미지 출처 : 사진: UnsplashNEOM  

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.