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 |
Tags
- Threppa
- next.js
- miniproject
- TIL
- Tanstack Query
- useForm
- teamproject
- 리액트네이티브
- useEffect
- javascript
- 구조분해할당
- project
- 팀프로젝트
- 이중map
- html
- css
- wescanner
- react-hook-form
- React-native
- ToyProject
- 다음은 메인페이지
- JS
- wecode
- 일본 우편번호 api
- 처음부터 배포까지
- toy project
- 문제
- mini
- React
- 다중map
Archives
- Today
- Total
블로그 이름을 입력해주세요
[HTML / CSS] Bootstrap 부트스트랩 사용법 간단 본문
Bootstrap
The most popular HTML, CSS, and JS library in the world.
getbootstrap.com
1. Get Started 클릭
2. Starter template 코드 복사
3. 코드 작성 끝
bootstrap은 css랑 html 짜기 겁나 귀찮고 디자인 감각 없는 우리가 자주 사용하는 라이브러리임
다 꾸며주고 다 꾸며놓음
코드 붙이고 쓰기만 하면 됨
그거마저 귀찮은 당신
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<title>Hello, world!</title>
</head>
<body>
<h1>Hello, world!</h1>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
-->
</body>
</html>
이것도 귀찮은 당신
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
head에 넣고 코드시작하면 됨
jquery cdn은 따로 import 시켜야 제이쿼리 사용 가능
'HTML' 카테고리의 다른 글
[HTML] Semantic(시멘틱) Tag(태그)와 Web(웹) (0) | 2022.05.23 |
---|---|
[HTML] Emmet (div박스 여러 개 만들기) (0) | 2022.01.24 |
[HTML] image(이미지)에 link(링크) 넣기 (0) | 2022.01.23 |