Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- ajax 사용 예시
- egov spring ajax 사용 예시
- mysql if
- summary
- Ionic modal
- prisma
- flex-1
- Oracle LISTAGG 사용 예시
- angular button
- 앵귤러 모달
- Angular Router
- route
- modal
- 아이오닉 스크롤 이벤트
- 스크롤 이벤트
- formgroup
- angular modal
- angular animation
- Router
- scroll
- 앵귤러 애니메이션
- 모달
- 검색
- 호버
- angular route
- TAILWIND
- 셀렉트박스 커스텀
- 스크롤 이벤트 감지
- 옵저버블
- ApexChart
Archives
- Today
- Total
깜놀하는 해므찌로
search box CSS 검색 박스 CSS 예시 본문
반응형
SMALL
<div
class="px-3 w-full flex border border-gray-200 rounded-md shadow-[0px_0px_12px_-1px_rgba(0,0,0,0.04)] gap-1 focus-within:border-primary transition-all"
>
<div class="flex py-[0.65625rem] items-center">
<img src="\assets\icon\search.png" class="h-4 w-4" />
</div>
<input
placeholder="제목, 내용으로 검색해주세요"
class="text-sm text-gray-400 py-2.5 w-full outline-none"
/>
</div>
1. input : outline-none : 기존 아웃 라인 제거
2. focus-within:border-primary transition-all : 새로운 아웃라인
반응형
LIST
'IT' 카테고리의 다른 글
Angular 게시판 탭 Tab 예시 (0) | 2023.06.20 |
---|---|
Angular icon component 예시 (0) | 2023.06.20 |
Video width height 동영상 화면 비율 조정하기 CSS Tailwind / aspect-video (0) | 2023.06.19 |
Angular 데이터 길이만큼 배열 생성 (0) | 2023.06.19 |
angular modal dismiss 예시 (0) | 2023.06.18 |