test 3-4 5

<style> .spread { display: flex; width: 840px; height: 595px; margin: 40px auto; background-color: white; border: 1px solid #ccc; box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); position: relative; z-index: 1; flex-wrap: wrap; } .page { width: 50%; height: 100%; position: relative; overflow: hidden; box-sizing: border-box; border-right: 1px solid #eee; } .page:last-child { border-right: none; } .photo-square { width: 297.5px; aspect-ratio: 1 / 1; overflow: hidden; position: absolute; left: 0; } .photo-square img, .photo-rect img, .photo-wide img { width: 100%; height: 100%; object-fit: cover; display: block; } .photo-square.bottom { top: 370px; } .photo-rect { width: 297.5px; aspect-ratio: 3 / 2; overflow: hidden; position: absolute; left: 0; top: 160px; } .photo-wide { position: absolute; left: 297.5px; top: 0; width: 562.5px; height: 595px; overflow: hidden; z-index: 0; } .text-box { position: absolute; top: 20px; left: 10%; width: 80%; background: rgba(255, 255, 255, 0.9); padding: 16px; box-shadow: 0 0 6px rgba(0,0,0,0.1); font-size: 13px; line-height: 1.4; z-index: 2; } .text-box h3 { font-size: 16px; margin: 0 0 8px; } .text-box p { margin: 0 0 6px; } @media (max-width: 767px) { .spread { flex-direction: column; width: 100%; height: auto; border: none; } .page { width: 100%; height: auto; border: none; border-bottom: 1px solid #ddd; padding-bottom: 40px; } .photo-square, .photo-rect { position: relative; margin: 20px auto 10px; } .photo-square.bottom { top: auto; } .photo-rect { top: auto; } .photo-wide { position: relative; width: 100%; left: 0; height: auto; aspect-ratio: 16 / 9; } .text-box { position: relative; top: 0; left: 0; width: 90%; margin: 20px auto; } } </style> <div class="spread"> <!-- Page 3 --> <div class="page page-left"> <a href="/files/attach/images/2025/04/30/9eacc12e05e7a13cae22c45d941614d2.jpg" data-lightbox="album" data-title="Top Left (3:2)"> <div class="photo-rect"> <img src="/files/attach/images/2025/04/30/9eacc12e05e7a13cae22c45d941614d2.jpg" alt="Top Left Rect"> </div> </a> <a href="/files/attach/images/2025/04/30/aed9d0c3fbcc3bd8a5a1e2070ce3fcaf.jpg" data-lightbox="album" data-title="Bottom Left"> <div class="photo-square bottom"> <img src="/files/attach/images/2025/04/30/aed9d0c3fbcc3bd8a5a1e2070ce3fcaf.jpg" alt="Bottom Left"> </div> </a> </div> <!-- Page 4 --> <div class="page page-right"> <div class="text-box"> <h3>Desert Echoes</h3> <p>사막의 아침 공기가 아직 따스함을 품기 전</p> <p>고요한 장면을 담은 한 컷</p> <p>#빛 #바람 #침묵</p> </div> <a href="/files/attach/images/2025/04/30/71b37f3dfe6d58dd3a3f92c7b0f5f778.jpg" data-lightbox="album" data-title="Right Full"> <div class="photo-wide"> <img src="/files/attach/images/2025/04/30/71b37f3dfe6d58dd3a3f92c7b0f5f778.jpg" alt="Wide Right"> </div> </a> </div> </div> <script src="https://cdn.jsdelivr.net/npm/lightbox2@2.11.4/dist/js/lightbox.min.js"></script> <link href="https://cdn.jsdelivr.net/npm/lightbox2@2.11.4/dist/css/lightbox.min.css" rel="stylesheet" />
by eGrida posted May 11, 2025
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
Extra Form

Desert Echoes

사막의 아침 공기가 아직 따스함을 품기 전

고요한 장면을 담은 한 컷

#빛 #바람 #침묵

Wide Right

Articles