커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
추억앨범에서 마이카드가 디스플레이가 컬럼이 안돼요
[왕초보] 코딩이 처음이어도 쉽게 배우는 웹개발 A to Z v0
3주차
북마크
김*현
댓글
5
추천
0
조회수
6
조회수
6
답변 완료

추억앨범에서 마이카드가 디스플레이가 컬럼이 안돼요 

그대로 카피 패이스트 했는데도 잘 안되네요


* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


/* Import fonts */

@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Tenor+Sans:wght@400&family=Roboto:wght@300&display=swap');


/* Apply fonts */

* {

font-family: 'Gowun Dodum', sans-serif;

}


body {

font-family: 'Roboto', sans-serif;

background-color: #f8f9fa; /* Light gray background */

color: #343a40; /* Dark text color */

}


header {

display: flex;

flex-direction: column;

align-items: center;

justify-content: center;

padding: 20px;

background-color: #343a40; /* Dark background for the header */

}


.navbar-brand {

text-decoration: none;

color: #fff; /* White text color for the brand */

font-size: 1.5rem; /* Font size for the brand */

margin-bottom: 10px; /* Add space between brand and menu */

}


.navbar-brand img {

margin-right: 10px; /* Add some spacing between the brand text and logo */

}


.menu {

display: block; /* Change display property to block */

text-align: center; /* Center the menu items */

margin-top: 10px; /* Add margin at the top to position below the brand */

}


.menu ul {

display: flex;

list-style: none;

padding: 0;

margin: 0;

}


.menu li {

margin-right: 5px; /* Add some spacing between menu items */

}


.menu a {

text-decoration: none;

color: #fff; /* White text color for the links */

font-size: 1rem; /* Font size for navigation links */

transition: color 0.3s ease-in-out; /* Smooth color transition on hover */

}


.menu a:hover {

color: #f8f9fa; /* Light gray color on hover */

}


.jumbotron {

margin : 10px;

color: #343a40; /* White text color for the jumbotron */

}


.mytitle {

background-color: #007BFF; /* Cinematic Blue */

color: white;

height: 250px;

display: flex;

flex-direction: column;

align-items: center;

justify-content: center;

background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),

url('https://images.unsplash.com/photo-1511992243105-2992b3fd0410?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');

background-position: center;

background-size: cover;

}


.mytitle > button {

width: 150px;

height: 50px;

background-color: transparent;

border: none;

color: white;

font-size: 18px;

font-weight: bold;

border-radius: 5px;

border: 1px solid white;

margin-top: 20px;

}


.mycards {

display: flex;

flex-direction: column;

align-items: center;

margin: 20px auto;

max-width: 1200px;

}


.row-cols-1 {

width: 100%; /* Ensure cards take full width */

}


.card {

transition: transform 0.3s ease-in-out;

}


.card:hover {

transform: scale(1.05);

}


footer {

background-color: #343a40; /* Dark background for the footer */

color: #fff; /* White text color for the footer */

position: fixed;

bottom: 0;

width: 100%;

padding: 10px 0;

}


/* Additional styles for better responsiveness on smaller screens */

@media (max-width: 576px) {

.mycards {

max-width: 100%; /* Adjusted max-width for small screens */

}

}


/* Update the color of the button */

.mytitle > button {

background-color: #007BFF; /* Cinematic Blue */

border: 1px solid #007BFF; /* Cinematic Blue */

color: white;

}










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