<script>
function openYouTube1() {
var isMobile = window.innerWidth <= 800;
if (isMobile) {
// 모바일일 때 실행할 코드
SITE.openModalMenu('m20240807913124d198bd8', 'm202408023ca2a837a8dd5');
} else {
// 웹일 때 실행할 코드
window.location.href = 'https://testhayeon.imweb.me/167';
}
}
});
function openYouTube2() {
window.open('https://www.youtube.com/embed/Zm2dxVQ1GTI?si=QgJQn9mVau2pVb1x&autoplay=1&mute=1', '_blank', 'width=1024px,height=600px,toolbar=0,location=0,menubar=0');
}
function openYouTube3() {
window.open('https://www.youtube.com/embed/Zm2dxVQ1GTI?si=QgJQn9mVau2pVb1x&autoplay=1&mute=1', '_blank', 'width=1024px,height=600px,toolbar=0,location=0,menubar=0');
}
function openYouTube4() {
window.open('https://www.youtube.com/embed/Zm2dxVQ1GTI?si=QgJQn9mVau2pVb1x&autoplay=1&mute=1', '_blank', 'width=1024px,height=600px,toolbar=0,location=0,menubar=0');
}
function openYouTube5() {
window.open('https://www.youtube.com/embed/Zm2dxVQ1GTI?si=QgJQn9mVau2pVb1x&autoplay=1&mute=1', '_blank', 'width=1024px,height=600px,toolbar=0,location=0,menubar=0');
}
function openYouTube6() {
window.open('https://www.youtube.com/embed/Zm2dxVQ1GTI?si=QgJQn9mVau2pVb1x&autoplay=1&mute=1', '_blank', 'width=1024px,height=600px,toolbar=0,location=0,menubar=0');
}
</script>
<style>
.gif1{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
.gif2{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
.gif3{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
.gif4{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
.gif5{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
.gif6{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
.gif7{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
.gif8{
background-image: url('https://oopy.lazyrockets.com/api/v2/notion/image?src=https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4031a111-bcc6-43de-a06d-82c640ce405a%2F7c901f75-04fa-4153-8eee-cfa0426d9dc7%2FGIF_(%25E1%2584%2580%25E1%2585%25A9%25E1%2584%2592%25E1%2585%25AA%25E1%2584%258C%25E1%2585%25B5%25E1%2586%25AF)%25E1%2584%2585%25E1%2585%25B5%25E1%2584%2582%25E1%2585%25B2%25E1%2584%258B%25E1%2585%25A5%25E1%2586%25AF_%25E1%2584%2592%25E1%2585%25A9%25E1%2586%25B7%25E1%2584%2591%25E1%2585%25A6%25E1%2584%258B%25E1%2585%25B5%25E1%2584%258C%25E1%2585%25B5_%25E1%2584%258B%25E1%2585%25A7%25E1%2586%25BC%25E1%2584%2589%25E1%2585%25A1%25E1%2586%25BC_%25E1%2584%2580%25E1%2585%25A1%25E1%2584%2585%25E1%2585%25A9.gif&blockId=e3386c15-2a74-43c9-925f-e061c4d72dd5'); /* 이미지 경로 지정 */
}
</style>
<style>
.hello-world {
margin-right: 10px;
display: flex;
align-items: center;
justify-content: center;
width: 100%; /* 버튼의 너비 조정 */
height: 30em;
border: 2px solid;
font-weight: bold;
color: white;
background-color: #7B5AF1;
transition: 300ms;
border-radius: 3px;
cursor: pointer;
background-size: cover; /* 배경 이미지를 요소에 맞게 확장 */
background-position: center; /* 배경 이미지의 위치 조정 */
}
.short_form {
display: flex;
flex-direction: column;
position: relative; /* 상대 위치 지정 */
}
.short_cont {
display: flex;
width: 100%;
flex-direction: row;
justify-content: center; /* 가로 중앙 정렬 */
text-align: center;
align-items: center; /* 추가: 세로 중앙 정렬 */
position: relative; /* 상대 위치 지정 */
}
.collection_block_main {
width: 90%;
flex-wrap: nowrap;
flex-grow: 1;
flex-shrink: 0;
z-index: 1;
margin-right: 0px;
margin-bottom: 0px;
position: relative; /* 상대 위치 지정 */
}
/* 카드 리스트 */
.collection_card_list {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.collection_item_bottom {
display: block;
overflow: hidden;
border: none;
background: white;
transition: background 100ms ease-out;
position: static;
/*카드 위젯 크기 height:npx; width: npx; */
height: 240px;
width: 200px;
flex-shrink: 0; /* 크기 변경 방지 */
margin: 0 8px; /* 간격 설정 */
}
/*텍스트박스*/
.card_text {
width: 100%;
padding: 40px 10px 10px 10px !important;
margin-top: 270px;
white-space: pre-line;
overflow: hidden;
text-overflow: ellipsis;
font-size: 16px;
line-height: 22px;
text-align: left;
}
.button_text {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}
.middle{
font-size: 12px;
}
.small{
font-size: 10px;
margin: 4px 0 0 0;
font-weight: 400;
}
.short_txt_box{
text-align: left;
font-weight: bold;
line-height: 12px;
margin: 5px 0 0 3px;
}
@media screen and (max-width: 750px) {
.slide_main{
overflow-x: auto;
}
.hello-world {
margin-right: 10px;
display: flex;
align-items: center;
justify-content: center;
width: 100%; /* 버튼의 너비 조정 */
height: 17em; /* 버튼의 높이 조정 */
border: 2px solid;
font-weight: bold;
color: white;
background-color: #7B5AF1;
transition: 300ms;
border-radius: 8px;
cursor: pointer;
background-size: cover; /* 배경 이미지를 요소에 맞게 확장 */
background-position: center; /* 배경 이미지의 위치 조정 */
}
.card_text {
width: 100%;
padding: 10px;
margin-top: 150px;
white-space: pre-line;
overflow: hidden;
text-overflow: ellipsis;
font-size: 10px;
line-height: 13px;
height: auto;
text-align: left;
}
}
.top_progress_container{
display:none;}
@media screen and (max-width: 350px) {
.hello-world {
height: 12em; /* 버튼의 높이 조정 */
}
}
</style>
<script>
const items = document.querySelector('.slide_main');
const slidePrevButton = document.querySelector('.slide_prev_button');
const slideNextButton = document.querySelector('.slide_next_button');
const slideMain = document.querySelector('.slide_main');
const progressBar = document.querySelector('.progress-bar'); // 프로그레스 바 요소 선택
function hideButtons() {
slidePrevButton.style.display = 'none';
slideNextButton.style.display = 'none';
}
// 슬라이드 영역에 마우스가 들어왔을 때 이전/다음 버튼을 보이게 함
items.addEventListener('mouseenter', () => {
slidePrevButton.style.display = 'block';
slideNextButton.style.display = 'block';
});
// 슬라이드 영역에서 마우스가 나갔을 때 이전/다음 버튼을 숨김
items.addEventListener('mouseleave', () => {
hideButtons();
});
// 이전 버튼에 마우스가 들어왔을 때 이전/다음 버튼을 보이게 함
slidePrevButton.addEventListener('mouseenter', () => {
slidePrevButton.style.display = 'block';
slideNextButton.style.display = 'block';
});
// 다음 버튼에 마우스가 들어왔을 때 이전/다음 버튼을 보이게 함
slideNextButton.addEventListener('mouseenter', () => {
slidePrevButton.style.display = 'block';
slideNextButton.style.display = 'block';
});
// 버튼 영역에서 마우스가 나갔을 때 이전/다음 버튼을 숨김
slidePrevButton.addEventListener('mouseleave', () => {
hideButtons();
});
slideNextButton.addEventListener('mouseleave', () => {
hideButtons();
});
// 이전 버튼 클릭 시 슬라이드 이동
slidePrevButton.addEventListener('click', () => {
slideMain.scrollTo({
left: slideMain.scrollLeft - 400,
behavior: 'smooth'
});
updateProgressBar(slideMain.scrollLeft - 400);
leaveItems();
});
// 다음 버튼 클릭 시 슬라이드 이동
slideNextButton.addEventListener('click', () => {
slideMain.scrollTo({
left: slideMain.scrollLeft + 400,
behavior: 'smooth'
});
updateProgressBar(slideMain.scrollLeft + 400);
leaveItems();
});
// 클릭한 경우 드래그 이벤트 설정
slidePrevButton.addEventListener('mousedown', clickItems);
slideNextButton.addEventListener('mousedown', clickItems);
let coords = {
left: 0,
x: 0
};
let isDragging = false;
function clickItems(event) {
coords = {
left: items.scrollLeft,
x: event.clientX
};
isDragging = true;
items.addEventListener('mousemove', dragItems);
items.addEventListener('mouseup', leaveItems);
}
function dragItems(event) {
if (!isDragging) return;
const dx = coords.x - event.clientX;
items.scrollLeft = coords.left + dx;
}
function leaveItems() {
coords.left = items.scrollLeft;
// 클릭만 발생했을 경우 동영상 실행
if (!isDragging) {
openYouTube();
}
isDragging = false;
items.removeEventListener('mousemove', dragItems);
items.removeEventListener('mouseup', leaveItems);
}
// 슬라이드 스크롤 이벤트 감지
slideMain.addEventListener('scroll', function(event) {
// 스크롤 위치 계산
const scrollPercentage = (this.scrollLeft / (this.scrollWidth - this.clientWidth)) * 100;
// 프로그래스바 너비 조절
progressBar.style.width = scrollPercentage + '%'; // 프로그레스 바 업데이트
});
// 슬라이드 이동 시 프로그레스 바 업데이트
function updateProgressBar(scrollLeft) {
const scrollPercentage = (scrollLeft / (slideMain.scrollWidth - slideMain.clientWidth)) * 100;
progressBar.style.width = scrollPercentage + '%'; // 프로그레스 바 업데이트
}
</script>
<!-- 이미지 갤러리 -->
<style>
/*베스트*/
.red_stoke{
border: #FF8465 4px solid !important;
box-sizing: border-box!important;}
.yellow_stoke{
border: #FFC534 4px solid !important;
box-sizing: border-box !important;
}
/*1주*/
.green_stoke{
border: #C6F491 4px solid!important;
box-sizing: border-box !important;
}
/*마감*/
.end{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white; /* 버튼 텍스트 색상 */
font-size: 24px !important; /* 버튼 텍스트 크기 */
font-weight: bold; /* 버튼 텍스트 굵기 */
text-align: center; /* 텍스트 가운데 정렬 */
z-index: 1; /* 이미지 위에 텍스트 표시 */
}
/* 전체 */
.collection_block {
display: flex;
}
/* 왼쪽 태그 */
.tag1 {
background-color: #ffffff;
border: solid #7B5AF1 1px;
color: #7B5AF1;
border-radius: 4px;
padding: 2px 8px;
}
/* 보라 */
.tag2 {
background-color: #F2EFFF;
color: #7B5AF1;
border-radius: 4px;
padding: 2px 8px;
margin-right: 4px;
}
/* 마감임박 빨강 */
.tag3 {
white-space: nowrap;
background-color: #FFEDE4;
color: #FA0100;
border-radius: 4px;
padding: 2px 8px;
margin-right: 4px;
}
/* 프로그램 비교, 보라노랑 */
.tag4 {
background-color: #856EFF;
color: #FFD058;
border-radius: 4px;
padding: 4px 8px;
margin-right: 4px;
}
/* 프로그램 비교, 회색보라 */
.tag5 {
background-color: #ECECEC;
color: #5841D7;
border-radius: 4px;
padding: 3px 8px;
}
/* 프로그램 비교, 노랑빨강 */
.tag6 {
background-color: #FBE699;
color: #FF0000;
border-radius: 4px;
padding: 2px 8px;
margin-right: 4px;
}
/* 마감 회색 */
.tag7 {
background-color: #ECECEC;
color: #777777;
border-radius: 4px;
padding: 2px 8px;
margin-right: 4px;
}
/* 노란색 */
.tag8 {
background-color: #FFFBEC;
color: #FF9900;
border-radius: 4px;
padding: 2px 8px;
margin-right: 4px;
}
/* 하늘색 */
.tag9 {
background-color: #C2E2FF;
color: #0085FF;
border-radius: 4px;
padding: 2px 8px;
margin-right: 4px;
}
/* 주황색 */
.tag10 {
background-color: #FFF0DE;
color: #FF5C00;
border-radius: 4px;
padding: 2px 8px;
margin-right: 4px;
}
/* 마감 */
.end_soon {
padding: 0px 13px 0px 13px;
border: 2px solid black;
border-radius: 100px;
position: absolute;
top: 84%;
left: 80%;
transform: translate(-50%, -50%);
color: white;
background-color:#ED5742;
font-size: 7px !important; /* 버튼 텍스트 크기 */
font-weight: bold; /* 버튼 텍스트 굵기 */
text-align: center; /* 텍스트 가운데 정렬 */
z-index: 1; /* 이미지 위에 텍스트 표시 */
line-height: 16px;
font-weight: bold;
text-align: center;
z-index: 1;
}
/*대기가능*/
.can_wait {
padding: 0px 13px 0px 13px;
border: 2px solid black;
border-radius: 100px;
position: absolute;
top: 84%;
left: 80%;
transform: translate(-50%, -50%);
color: white;
background-color:#FF9E2D;
font-size: 7px !important; /* 버튼 텍스트 크기 */
font-weight: bold; /* 버튼 텍스트 굵기 */
text-align: center; /* 텍스트 가운데 정렬 */
z-index: 1; /* 이미지 위에 텍스트 표시 */
line-height: 16px;
font-weight: bold;
text-align: center;
z-index: 1;
}
.lb-wrap {
position: relative;
width: 100%;
}
/* 1줄 */
.slide {
display: grid;
position: relative;
width: 100%;
grid-template-columns: repeat(3, 1fr);
column-gap: 12px;
padding-top: 16px;
padding-bottom: 4px;
margin: 0 auto;
}
.end_soon_txt{
white-space:nowrap;
}
/* 이미지 */
.img_item {
width: 100%;
height: auto; /* Fixed height for all images */
object-fit: cover;
box-sizing: border-box;
border: 1px solid rgba(0,0,0,0);
}
.img_item:hover {
filter: brightness(0.8);
}
/*텍스트박스*/
.card_text {
width: 100%;
padding: 3px;
white-space: pre-line;
overflow: hidden;
text-overflow: ellipsis;
font-size: 12px;
line-height: 20px;
}
/* 미디어 쿼리 */
@media screen and (max-width: 800px) {
.slide {
grid-template-columns: repeat(3, 1fr);
}
.end_soon {
padding: 0px 13px 0px 13px;
border: 2px solid black;
border-radius: 100px;
position: absolute;
top: 80%;
left: 80%;
transform: translate(-50%, -50%);
color: white;
background-color:#ED5742;
font-size: 6px !important; /* 버튼 텍스트 크기 */
font-weight: bold; /* 버튼 텍스트 굵기 */
text-align: center; /* 텍스트 가운데 정렬 */
z-index: 1; /* 이미지 위에 텍스트 표시 */
line-height: 16px;
font-weight: bold;
text-align: center;
z-index: 1;
}
.can_wait {
padding: 0px 13px 0px 13px;
border: 2px solid black;
border-radius: 100px;
position: absolute;
top: 80%;
left: 80%;
transform: translate(-50%, -50%);
color: white;
background-color:#FF9E2D;
font-size: 6px !important; /* 버튼 텍스트 크기 */
font-weight: bold; /* 버튼 텍스트 굵기 */
text-align: center; /* 텍스트 가운데 정렬 */
z-index: 1; /* 이미지 위에 텍스트 표시 */
line-height: 16px;
font-weight: bold;
text-align: center;
z-index: 1;
}
}
@media screen and (max-width: 600px) {
.slide {
grid-template-columns: repeat(2, 1fr);
}
.end_soon {
padding: 0px 12px 0px 12px;
border: 2px solid black;
border-radius: 100px;
position: absolute;
top: 80%;
left: 80%;
transform: translate(-50%, -50%);
color: white;
background-color:#ED5742;
font-size: 6px !important; /* 버튼 텍스트 크기 */
font-weight: bold; /* 버튼 텍스트 굵기 */
text-align: center; /* 텍스트 가운데 정렬 */
z-index: 1; /* 이미지 위에 텍스트 표시 */
line-height: 16px;
font-weight: bold;
text-align: center;
z-index: 1;
}
.can_wait {
padding: 0px 12px 0px 12px;
border: 2px solid black;
border-radius: 100px;
position: absolute;
top: 80%;
left: 80%;
transform: translate(-50%, -50%);
color: white;
background-color:#FF9E2D;
font-size: 6px !important; /* 버튼 텍스트 크기 */
font-weight: bold; /* 버튼 텍스트 굵기 */
text-align: center; /* 텍스트 가운데 정렬 */
z-index: 1; /* 이미지 위에 텍스트 표시 */
line-height: 16px;
font-weight: bold;
text-align: center;
z-index: 1;
}
}
.end {
font-size: 12px;
}
.card_text {
font-size: 11px;
}
</style>
<div class="collection_block">
<div class="slide">
<div class="collection_card_list">
<div class="hello-world gif1" onclick="openYouTube1()">
<div class="card_text"><div class="big">숏츠 이름입니다</div><div class="small">들어갑니다 내용이에요</div></div>
</div>
<div class="short_txt_box">
<a class="middle" ></a>
<h5 class="small" ></h5>
</div></div>
<div class="collection_card_list">
<div class="hello-world gif1" onclick="openYouTube1()">
<div class="card_text"><div class="big">숏츠 이름입니다</div><div class="small">들어갑니다 내용이에요</div></div>
</div>
<div class="short_txt_box">
<a class="middle" ></a>
<h5 class="small" ></h5>
</div></div>
<div class="collection_card_list">
<div class="hello-world gif1" onclick="openYouTube1()">
<div class="card_text"><div class="big">숏츠 이름입니다</div><div class="small">들어갑니다 내용이에요</div></div>
</div>
<div class="short_txt_box">
<a class="middle" ></a>
<h5 class="small" ></h5>
</div></div>
<div class="collection_card_list">
<div class="hello-world gif1" onclick="openYouTube1()">
<div class="card_text"><div class="big">숏츠 이름입니다</div><div class="small">들어갑니다 내용이에요</div></div>
</div>
<div class="short_txt_box">
<a class="middle" ></a>
<h5 class="small" ></h5>
</div></div>
<div class="collection_card_list">
<div class="hello-world gif1" onclick="openYouTube1()">
<div class="card_text"><div class="big">숏츠 이름입니다</div><div class="small">들어갑니다 내용이에요</div></div>
</div>
<div class="short_txt_box">
<a class="middle" ></a>
<h5 class="small" ></h5>
</div></div>
</div>
</div>
HTML
복사