½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > CSS > ÆòÁ¡ÀÌ ³ª¿À´Â ¸¶¿ì½º ¿À¹ö È¿°ú Movie Poster Interaction »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
CSS
html
asp
API
jquery
mysql
image
Mobile
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
ÆòÁ¡ÀÌ ³ª¿À´Â ¸¶¿ì½º ¿À¹ö È¿°ú Movie Poster Interaction
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù CSS
´Ù¿î·Îµå Ƚ¼ö 1 ȸ
°£´Ü¼³¸í ¸¶¿ì½º¸¦ ¿Ã¸®¸é Á¦¸ñ, ÆòÁ¡ µî ´Ù¾çÇÑ Á¤º¸°¡ ³ªÅ¸³ª´Â ¸¶¿ì½º ¿À¹ö È¿°úÀÔ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
ȨÆäÀÌÁö¹Ù·Î°¡±â ¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â ½ºÅ©·¦Çϱâ
 

¸¶¿ì½º¸¦ ¿Ã¸®¸é Á¦¸ñ, ÆòÁ¡ µî ´Ù¾çÇÑ Á¤º¸°¡ ³ªÅ¸³ª´Â ¸¶¿ì½º ¿À¹ö È¿°úÀÔ´Ï´Ù.

ÀÀ¿ëÇÏ¿© ´Ù¾çÇÏ°Ô È°¿ë °¡´ÉÇÕ´Ï´Ù.


HTML ±¸Á¶

 

.
.
.
ÀÚ¼¼ÇÑ ¼Ò½º´Â µ¥¸ð »çÀÌÆ®¸¦ ÅëÇØ È®ÀÎÇØ ÁÖ¼¼¿ä.



CSS ¼Ò½º

body {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 100vh;

    background: #f5f5f5;

}


.wrapper {

    position: relative;

    width: 100%;

    height: 100%;

    padding: 20px;

    display: flex;

    align-content: center;

    justify-content: center;

    gap: 24px;

    flex-wrap: wrap;

}


.card {

    position: relative;

    width: 325px;

    height: 450px;

    background: #000;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);

}


.poster {

    position: relative;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

}


.poster::before {

    content: '';

    position: absolute;

    bottom: -45%;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 1;

    transition: .3s;

}


.card:hover .poster::before {

    bottom: 0;

}


.poster img {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .3s;

}


.card:hover .poster img {

    transform: scale(1.1);

}


.details {

    position: absolute;

    bottom: -100%;

    left: 0;

    width: 100%;

    height: auto;

    padding: 1.5em 1.5em 2em;

    background: #000a;

    backdrop-filter: blur(16px) saturate(120%);

    transition: .3s;

    color: #fff;

    z-index: 2;

}


.card:hover .details {

    bottom: 0;

}


.details h1,

.details h2 {

    font-weight: 700;

}


.details h1 {

    font-size: 1.5em;

    margin-bottom: 5px;

}


.details h2 {

    font-weight: 400;

    font-size: 1em;

    margin-bottom: 10px;

    opacity: .6;

}


.details .rating {

    position: relative;

    margin-bottom: 15px;

    display: flex;

    gap: .25em;

}


.details .rating i {

    color: #e3c414;

}


.details .rating span {

    margin-left: 0.25em;

}

 

.
.
.

 

ÇØ´ç »çÀÌÆ®·Î À̵¿Çؼ­ Àüü ¼Ò½º¸¦ È®ÀÎÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.


³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð Àǰ߳²±â±â
µî·ÏµÈ ÀǰßÀÌ ¾ø½À´Ï´Ù.
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöŰ
 42971110 º¸ÀÌ´Â µµ¹è¹æÁö۸¦ ÀÔ·ÂÇϼ¼¿ä.