반응형

좌우로 꽉 차도록(css)

display: flex;
justify-content: space-between;

 

포커스 시 라인 제거, 배경 변경

input:focus, textarea:focus {
    outline: none;
    background-color: #eee;
}

 

input(text) 내 placeholder 스타일 변경

input[type="text"]::placeholder {
    font: 1.1em 맑은고딕, Arial, sans-serif;
    color: #ccc;
}

 

포커스 시 placeholder 투명처리

input:focus::placeholder {
    color: transparent;
}

 

placeholder 가 아니라 label 사용 하는 것을 추후 확인 해야한다.

반응형

'2022' 카테고리의 다른 글

[노마드코더][노개북] 실용주의 프로그래머 스케쥴  (0) 2022.03.11
2022년 3월 11일 금요일 관심있는 자료들  (0) 2022.03.11
프로젝트관리 키워드 등등  (0) 2022.03.10
MariaDB 설치  (0) 2022.03.10
MySQL ? MariaDB ?  (0) 2022.03.08

+ Recent posts