단순 코드 기록/BootStrap

BootStrap_Color

일일일코_장민기 2024. 2. 9. 11:49
728x90

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>Insert title here</title>

<link

href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"

rel="stylesheet"

integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"

crossorigin="anonymous">

 

</head>

<body>

 

<!-- alert alert의 색상 -->

<div class="alert alert-primary" role="alert">

A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

<div class="alert alert-secondary" role="alert">

A simple secondary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

<div class="alert alert-success" role="alert">

A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

<div class="alert alert-danger" role="alert">

A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

<div class="alert alert-warning" role="alert">

A simple warning alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

<div class="alert alert-info" role="alert">

A simple info alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

<div class="alert alert-light" role="alert">

A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

<div class="alert alert-dark" role="alert">

A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.

</div>

 

 

<script

src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"

integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"

crossorigin="anonymous">

</script>

 

</body>

</html>

'단순 코드 기록 > BootStrap' 카테고리의 다른 글

BootStrap_Button  (0) 2024.02.09
BootStrap_Badge  (0) 2024.02.09
BootStrap_Alert  (0) 2024.02.09
BootStrap_Grid  (0) 2024.02.09
BootStrap_Basic  (0) 2024.02.09