-
Notifications
You must be signed in to change notification settings - Fork 2
type이 date인 input CSS 조작하는 법
palsa131 edited this page Dec 10, 2021
·
1 revision
::-webkit-datetime-edit { /* 연도-월-일 부분 전체 */
padding: 1 em;
}
::-webkit-datetime-edit-fields-wrapper { /* 연도-월-일 부분을 감싼 영역만 */
background: silver;
}
::-webkit-datetime-edit-text { /* 연도-월-일의 text만*/
color: red;
padding: 0 0.3 em;
}
::-webkit-datetime-edit-month-field { /* 연도-월-일 에서 월 부분 text만 */
color: blue;
}
::-webkit-datetime-edit-day-field { /* 연도-월-일 에서 일 부분 text만 */
color: green;
}
::-webkit-datetime-edit-year-field { /* 연도-월-일 에서 연도 부분 text만 */
color: purple;
}
::-webkit-calendar-picker-indicator { /* 달력 아이콘 부분 */
background: orange; /* url('사진') no-repeat 로 달력의 아이콘 변경 가능 */
}
연도-월-일이 아닌 연도.월.일로 구분자를 바꾸고 싶었는데 현재까지는 방법을 찾지 못했음
고민의 흔적
만난 이슈들
- [소정]emotion theme 적용이 왜 안될까?
- [동진]addEventListener의 passive 속성과 preventDefault
- [동진]storybook - defaultValue is deprecated!
- [소정, 정호]배포시 mapbox가 동작하지 않던 문제!
- [동진]axios interceptor를 설정하면서 만났던 config타입정의 문제
- [정호]Input 값에 undefined나 null이 들어오는 경우 발생하는 오류
- [정호]Javascript에서 KST , TOMORROW 구하는 방법
- [동진]시멘틱한-dropdown만들기!