
추억앨범에서 마이카드가 디스플레이가 컬럼이 안돼요
그대로 카피 패이스트 했는데도 잘 안되네요
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
/* 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)),
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;
}
