Bootstrap v5.2 버튼 디자인 예제

이 섹션에서는 부트스트랩 v5.2 디자인 버튼, 부트스트랩 v5.2 개요 및 로드 버튼, 부트스트랩 아이콘이 있는 부트스트랩 v5.2 버튼, 부트스트랩 v5.2의 예를 만듭니다.
view

Bootstrap v5.2 버튼 디자인 예제


  • bootstrap v5.2 심플하고 새로운 디자인의 버튼.

  • <!DOCTYPE html>
    <html lang="en">
    
        <head>
            <meta charset="UTF-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>Bootstrap v5.2 Design Buttons</title>
            <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
                integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
            <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
                integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
                crossorigin="anonymous"></script>
        </head>
    
        <body>
            <div class="vh-100 d-flex justify-content-center align-items-center">
                <div>
                    <button type="button" class="btn btn-primary">Primary</button>
                    <button type="button" class="btn btn-secondary">Secondary</button>
                    <button type="button" class="btn btn-success">Success</button>
                    <button type="button" class="btn btn-danger">Danger</button>
                    <button type="button" class="btn btn-warning">Warning</button>
                    <button type="button" class="btn btn-info">Info</button>
                    <button type="button" class="btn btn-light">Light</button>
                    <button type="button" class="btn btn-dark">Dark</button>
                    <button type="button" class="btn btn-link">Link</button>
                </div>
            </div>
        </body>
    
    </html
    



    2.bootstrap v5.2 개요 버튼.

    <button type="button" class="btn btn-outline-primary">Primary</button>
    <button type="button" class="btn btn-outline-secondary">Secondary</button>
    <button type="button" class="btn btn-outline-success">Success</button>
    <button type="button" class="btn btn-outline-danger">Danger</button>
    <button type="button" class="btn btn-outline-warning">Warning</button>
    <button type="button" class="btn btn-outline-info">Info</button>
    <button type="button" class="btn btn-outline-light">Light</button>
    <button type="button" class="btn btn-outline-dark">Dark</button>
    


    3.bootstrap v5.2 로딩 버튼.

    <!DOCTYPE html>
    <html lang="en">
    
        <head>
            <meta charset="UTF-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>Bootstrap v5.2 Design Loading Buttons</title>
            <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
                integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
            <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
                integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
                crossorigin="anonymous"></script>
        </head>
    
        <body>
            <div class="vh-100 d-flex justify-content-center align-items-center">
                <div>
                    <button class="btn btn-primary" type="button">
                        <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
                        Loading...
                    </button>
                    <button class="btn btn-secondary" type="button">
                        <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
                        Loading...
                    </button>
                    <button class="btn btn-success" type="button">
                        <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
                        Loading...
                    </button>
                    <button class="btn btn-danger" type="button">
                        <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
                        Loading...
                    </button>
                    <button class="btn btn-dark" type="button">
                        <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
                        Loading...
                    </button>
                </div>
            </div>
        </body>
    
    </html>
    




    4.bootsrap v5.2 그래디언트 버튼.

    <button type="button" class="text-white btn bg-primary bg-gradient">Primary</button>
    <button type="button" class="text-white btn bg-secondary bg-gradient">Secondary</button>
    <button type="button" class="text-white btn bg-success bg-gradient">Success</button>
    <button type="button" class="text-white btn bg-danger bg-gradient">Danger</button>
    <button type="button" class="text-white btn bg-warning bg-gradient">Warning</button>
    <button type="button" class="text-white btn bg-info bg-gradient">Info</button>
    <button type="button" class="text-black btn bg-light bg-gradient">Light</button>
    <button type="button" class="text-white btn bg-dark bg-gradient">Dark</button>
    


    부트스트랩 아이콘을 사용하는 아이콘이 있는 5.bootstrap v5.2 버튼.

    <!DOCTYPE html>
    <html lang="en">
    
        <head>
            <meta charset="UTF-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>Bootstrap v5.2 Buttons with Bootstrap Icon</title>
            <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
                integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
            <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
                integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
                crossorigin="anonymous"></script>
                <!-- bootstrap-icons -->
            <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
        </head>
    
        <body>
            <div class="vh-100 d-flex justify-content-center align-items-center">
                <div>
                    <button type="button" class="btn btn-primary">
                        <i class="bi bi-facebook"></i>
                        Button
                    </button>
                    <button type="button" class="btn btn-outline-danger">
                        <i class="bi bi-facebook"></i>
                        Button
                    </button>
                    <button type="button" class="btn btn-success">
                        <i class="bi bi-facebook"></i>
                        Button
                    </button>
                </div>
            </div>
        </body>
    
    </html>
    


    좋은 웹페이지 즐겨찾기