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

ÀÚ¼¼ÇÑ ³»¿ëÀº µ¥¸ð»çÀÌÆ® ÁÖ¼Ò¿¡¼­ È®ÀÎÀÌ °¡´ÉÇÕ´Ï´Ù.




HTML

<div class="grid-container">
<div class="grid-item photo1">
<img class="filter-image" src="https://source.unsplash.com/random/?city,night,neon">
</div>
<div class="grid-item photo2">
<img class="filter-image" src="https://source.unsplash.com/random/?car,night">
</div>
<div class="grid-item photo3">
<img class="filter-image" src="https://source.unsplash.com/random/?beach,skynight,dark">
</div>
</div>
 
<svg>
<defs>
<filter id="crumple-effect-1">
<feTurbulence id="turbulence" type="fractalNoise" baseFrequency="0.1" numOctaves="5" result="turbulence">
<animate attributeName="baseFrequency" values="0.1;0.3;0.6;1.0" keyTimes="0;0.5;0.75;1" dur="15s" repeatCount="indefinite" />
</feTurbulence>
<feDisplacementMap in2="turbulence" in="SourceGraphic" scale="0">
<animate attributeName="scale" values="0;20;50;100" keyTimes="0;0.5;0.75;1" dur="60s" repeatCount="indefinite" />
</feDisplacementMap>
</filter>
 
<filter id="crumple-effect-2">
<feTurbulence id="turbulence" type="fractalNoise" baseFrequency="0.02" numOctaves="5" result="turbulence">
<animate attributeName="baseFrequency" values="0.1;0.2" keyTimes="0;1" dur="10s" repeatCount="indefinite" />
</feTurbulence>
<feDisplacementMap in2="turbulence" in="SourceGraphic" scale="0">
<animate attributeName="scale" values="30;60" keyTimes="0;1" dur="10s" repeatCount="indefinite" />
</feDisplacementMap>
</filter>
 
<filter id="crumple-effect-3">
<feTurbulence id="turbulence" type="fractalNoise" baseFrequency="0.02" numOctaves="5" result="turbulence">
<animate attributeName="baseFrequency" values="0.6;0.3;0.2;0.1" keyTimes="0;0.5;0.75;1" dur="15s" repeatCount="indefinite" />
</feTurbulence>
<feDisplacementMap in2="turbulence" in="SourceGraphic" scale="0">
<animate attributeName="scale" values="0;50;75;100" keyTimes="0;0.5;0.75;1" dur="60s" repeatCount="indefinite" />
</feDisplacementMap>
</filter>
 
</defs>
</svg>
 

CSS

body {
height: 100vh;
margin: 0;
place-items: center;
background-color: aliceblue;
}
 
.grid-container {
  display: grid;
  gap: 20px 20px;
  grid-template-columns: auto auto auto;
}
 
.grid-item {
  padding: 20px;
}
 
.filter-image {
  text-align: center;
width: 30vw;
height: 80vh;
object-fit: cover;
background: white;
padding: 10px 10px 35px;
text-align: center;
text-decoration: none;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
transition: all 0.15s linear;
z-index: 0;
position: relative;
transform: rotate(4deg);
}
 
.photo1, photo2 {
padding: 1rem;
filter: drop-shadow(0 2px 1px darkgrey);
display: inline-block;
}
 
.photo1 {
filter: url(#crumple-effect-1);
}
 
.photo2 {
filter: url(#crumple-effect-2);
}
 
.photo3 {
filter: url(#crumple-effect-3);
}
 
 
.photo1:hover, .photo2:hover, .photo3:hover {
filter: sepia(50%);
transform: rotate(-6deg);
}
 
 
 


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