ファンリストの作成

29629 ワード

私が最初に作ったページです。


HTMLはスケルトン、CSSはデコレーション!
あと、スタートバンドは初めて使いましたが、一度使ってみたら、今どうすればいいのかな…?
以下は私が作成したファン名簿の実際の画面と作成したコードです.
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>

<title>이도현-팬명록</title>
    <link href="https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Do+Hyeon&family=Gowun+Batang&display=swap" rel="stylesheet">

    <style>
        * {
          font-family: 'Gowun Batang', serif;
        }
     .mytitle {
                width: 100%;
                height: 250px;

                background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://newsimg.hankookilbo.com/cms/articlerelease/2020/12/23/9710e39f-2cad-4932-a565-84e8b24264d3.jpg");
                background-position: center;
                background-size: cover;

                color: white;

                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }
       .mytitle > button {
                width: 200px;
                height: 50px;

                background-color: transparent;
                color: white;

                border-radius: 50px;

                border: 1px solid white;

                margin-top: 10px;
            }

        .mytitle > button:hover {
            border: 2px solid white;
        }
        .mypost {
          max-width: 500px;
            width: 95%;

            margin: 10px auto 0px auto;

            box-shadow: 0px 0px 3px 0px gray;
            padding: 20px;
        }
        .mybtn {
            display: flex;
            flex-direction: row;
            margin-top: 10px;
        }
        .mybtn > button {
            margin-right: 10px;
        }

         .mycards {
             max-width: 500px;
             width: 95%;

             margin: 20px auto 0px auto;
         }
         .mycards > .card {
             margin-top: 10px;
             margin-bottom: 10px;
         }
    </style>
</head>

<body>
    <div class="mytitle">
        <h1>이도현 팬명록</h1>
    </div>
     <div class="mypost">
            <div class="form-floating mb-3">
                <input type="email" class="form-control" id="floatingInput" placeholder="[email protected]">
                <label for="floatingInput">닉네임</label>
            </div>
            <div class="form-floating">
                <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2"
                          style="height: 100px"></textarea>
                <label for="floatingTextarea2">응원댓글</label>
            </div>
            <div class="mybtn">
                <button type="button" class="btn btn-dark">응원남기기</button>
            </div>
        </div>
    <div class="mycards">
        <div class="card">
            <div class="card-body">
                <blockquote class="blockquote mb-0">
                    <p>새로운 드라마 너무 재밌어요!</p>
                    <footer class="blockquote-footer">냥냥</footer>
                </blockquote>
            </div>
        </div>
         <div class="card">
            <div class="card-body">
                <blockquote class="blockquote mb-0">
                    <p>새로운 드라마 너무 재밌어요!</p>
                    <footer class="blockquote-footer">냥냥</footer>
                </blockquote>
            </div>
        </div>
         <div class="card">
            <div class="card-body">
                <blockquote class="blockquote mb-0">
                    <p>새로운 드라마 너무 재밌어요!</p>
                    <footer class="blockquote-footer">냥냥</footer>
                </blockquote>
            </div>
        </div>
    </div>

</body>


</html>