커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
문의
undefined주차
북마크
댓글
8
추천
0
조회수
13
조회수
13
답변 완료



입력 상자를 오른쪽으로 보내고 싶어도 안됩니다.


기존에는 가능했는데 무엇이 문제 인가요?



스파르타 즉문즉답


<!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/bootstrap@5.0.2/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/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
            integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
            crossorigin="anonymous"></script>

    <title>스파르타코딩클럽 | 부트스트랩 연습하기</title>
    <style>
        .mytitle {
            background-color: green;

            width: 95%;
            height: 300px;

            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            color: white;
            background-image: url("http://www.sangjomagazine.com/imgdata/sangjomagazine_com/201811/2018111017584296.jpg");
        }

        .mypost {
            width: 95%;
            max-width: 500px;
            margin: 20px auto 20px auto;

            box-shadow: 0px 0px 3px 0px black;
            padding: 20px;

        }

     .mypost > button {
            margin-top: 15px;
            display: flex;
            flex-direction: row;
            justify-content: right;
        }

        .mycards {
            width: 95%;
            max-width: 500px;
            margin: 20px auto 20px auto;
        }
        .card {
            margin-top: 10px;

        }
    </style>
</head>

<body>
<h1 class="mytitle">이한상 방명록</h1>

<div class="mypost">
    <div class="form-floating mb-3">
        <input type="email" class="form-control" id="nickname" placeholder="닉네임을 입력하세요">
        <label for="nickname">이름을 입력하세요</label>
    </div>

    <div class="form-floating">
        <textarea class="form-control" placeholder="Leave a comment here" id="comments"></textarea>
        <label for="comments">응원메세지를 입력하세요</label>
    </div>
    <button type="button" class="btn-dark">입력</button>
</div>

<div class="mycards">
    <div class="card">
        <div class="card-body">
            <blockquote class="blockquote mb-0">
                <p>넌 할수 있어!</p>
                <footer class="blockquote-footer">이순욱 <cite title="Source Title"></cite>
                </footer>
            </blockquote>
        </div>
    </div>
    <div class="card">
        <div class="card-body">
            <blockquote class="blockquote mb-0">
                <p>아들 항상 믿어!</p>
                <footer class="blockquote-footer">강지선 <cite title="Source Title"></cite>
                </footer>
            </blockquote>
        </div>
    </div>
    <div class="card">
        <div class="card-body">
            <blockquote class="blockquote mb-0">
                <p>여보 힘내! </p>
                <footer class="blockquote-footer">김희영 <cite title="Source Title"></cite>
                </footer>
            </blockquote>
        </div>
    </div>
</div>
</body>

</html>


취소
 공유
취소
댓글 0
댓글 알림
나의얼굴