Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 스프링
- GitHub
- jquery
- Git
- Spring
- 쿼리
- mybatis
- 자바
- 넥사크로
- db
- IntelliJ
- JPA
- Vue
- 에러
- 생성
- 방법
- error
- JavaScript
- 프로그래머스
- kotlin
- 시큐리티
- 함수
- 코틀린
- aws
- Eclipse
- Security
- 알고리즘
- 오라클
- Java
- oracle
Archives
- Today
- Total
송민준의 개발노트
bootstrap 4 table columns(열) 없애기(숨기기) 본문
테이블 반응형은 항상 고민이다.
테이블의 th, td의 경우 다음과 같이 적용해야 한다.
d-none .d-{breakpoint}-{value}
breakpoint : sm, md, lg, xl
value : block, table-cell 등등등
사용 예제
<thead>
<tr>
<th class ="d-none d-lg-table-cell" width="7%"><div>번호</div></th>
<th width="45%"><div>제목_댓글</div></th>
<th width="15%"><div>작성자</div></th>
<th class ="d-none d-sm-table-cell" width="13%"><div>작성일</div></th>
<th class ="d-none d-sm-table-cell" width="10%"><div>조회</div></th>
<th class ="d-none d-sm-table-cell" width="10%"><div>추천</div></th>
</tr>
</thead>
'웹 > 부트스트랩' 카테고리의 다른 글
bootstrap 활용 1 (0) | 2019.10.30 |
---|