Bootstrap 사용법
Bootstrap
Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.
getbootstrap.com
bootstrap 홈페이지 진입
Docs 클릭
html 파일 안에
표시한 구문들을 입력 하면 bootstrap 사용 준비 완료이다.
사용 예시)
<button class="btn btn-primary">버튼</button>
<button class="btn btn-secondary">버튼</button>
<button class="btn btn-success">버튼</button>
<button class="btn btn-info">버튼</button>
<button class="btn btn-warning">버튼</button>
<button class="btn btn-danger">버튼</button>
<table class="table table-striped table-dark">
기본적으로 요소 안에 class="" 안에 bootstrap에서 나와있는 값들을 입력하면 해당 css로 적용이 된다.
class 안에 값만 넣어줘도 css를 따로 만들 필요없이 bootstrap에 만들어놓은 css로 적용이 된다.
구현된 모습
'CSS' 카테고리의 다른 글
Bootstrap Form 디자인(2) (0) | 2023.06.08 |
---|---|
Bootstrap Form 예제(정규 표현식 활용) (0) | 2023.06.08 |
Bootstrap Form 디자인 (0) | 2023.05.30 |
MediaQuery 사용 (0) | 2023.05.26 |
Bootstrap Grid 예제 (0) | 2023.05.26 |