커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
코드를 맞게 입력했는데 테두리가 안 나옵니다 ㅠㅠ
undefined주차
북마크
안*현
댓글
7
추천
0
조회수
12
조회수
12
답변 완료
<!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>
        .oh{
          background-color: darkred;
          width: 100%;
          height: 250px;

          background-image: url("https://movie-phinf.pstatic.net/20210715_95/1626338192428gTnJl_JPEG/movie_image.jpg");
          background-position: center;
          background-size: cover;

          color: antiquewhite;

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

          background-color: transparent;

          color: antiquewhite;

          border-radius: 50px;

          border: 1px antiquewhite;

          margin-top: 10px;
        }
        .oh > button:hover {
          border: 2px antiquewhite;
        }
    </style>

</head>

<body>
    <div class="oh">
        <h1>내 생애 최고의 영화들</h1>
        <button>영화 기록하기</button>
    </div>

</body>
</html>

color를 기존 white가 아니라 antiquewhite로 색상만 바꿔서 입력했는데 테두리가 나오지 않아서

강의 영상 코드를 복붙했는데 다시 나오다가 또 antiquewhite로 바꿔서 저장하니 안 나옵니다,, 후에 다시 white로 바꿔도 안나오고 ,,

어떤 문제일까요?




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