Property | Description |
---|---|
h-shadow | 그림자의 수평(X)축 거리를 나타냅니다. |
v-shadow | 그림자의 수직(Y)축 거리를 나타냅니다. |
blur | 그림자의 흐림 정도를 나타냅니다. |
spread | 그림자의 거리를 나타냅니다. |
color | 그림자의 색깔을 나타냅니다. |
inset | 그림자의 효과 내부를 나타냅니다. |
.shadow01 {box-shadow: 0px 0px 5px rgba(0,0,0,0.8);} .shadow02 {box-shadow: 2px 2px 5px rgba(0,0,0,0.8);} .shadow03 {box-shadow: 4px 4px 5px rgba(0,0,0,0.8);} .shadow04 {box-shadow: 6px 6px 5px rgba(0,0,0,0.8);} .shadow05 {box-shadow: 8px 8px 5px rgba(0,0,0,0.8);} .shadow06 {box-shadow: 10px 10px 5px rgba(0,0,0,0.8);} .shadow07 {box-shadow: 12px 12px 5px rgba(0,0,0,0.8);} .shadow08 {box-shadow: 14px 14px 5px rgba(0,0,0,0.8);} .shadow09 {box-shadow: 16px 16px 5px rgba(0,0,0,0.8);} .shadow10 { animation-name: shadow10; animation-duration: 3s; animation-iteration-count: 100; animation-timing-function: ease-in-out; } @keyframes shadow10 { 0% {box-shadow: 0px 0px 5px rgba(0,0,0,0.8);} 10% {box-shadow: -18px -18px 5px rgba(0,0,0,0.8);} 20% {box-shadow: 0px 0px 5px rgba(0,0,0,0.8);} 30% {box-shadow: 18px -18px 5px rgba(0,0,0,0.8);} 40% {box-shadow: 0px 0px 5px rgba(0,0,0,0.8);} 50% {box-shadow: 18px 18px 5px rgba(0,0,0,0.8);} 60% {box-shadow: 0px 0px 5px rgba(0,0,0,0.8);} 70% {box-shadow: -18px 18px 5px rgba(0,0,0,0.8);} 100% {box-shadow: 0px 0px 5px rgba(0,0,0,0.8); }
.shadow11 {box-shadow: 4px 4px 0 rgba(0,0,0,0.8); } .shadow12 {box-shadow: 4px 4px 6px rgba(0,0,0,0.8); } .shadow13 {box-shadow: 4px 4px 9px rgba(0,0,0,0.8); } .shadow14 {box-shadow: 4px 4px 12px rgba(0,0,0,0.8); } .shadow15 {box-shadow: 4px 4px 15px rgba(0,0,0,0.8); } .shadow16 {box-shadow: 4px 4px 18px rgba(0,0,0,0.8); } .shadow17 {box-shadow: 4px 4px 21px rgba(0,0,0,0.8); } .shadow18 {box-shadow: 4px 4px 24px rgba(0,0,0,0.8); } .shadow19 {box-shadow: 4px 4px 27px rgba(0,0,0,0.8); } .shadow20 { animation-name: shadow20; animation-duration: 3s; animation-iteration-count: 10; animation-timing-function: ease-in-out; } @keyframes shadow20 { 0% {box-shadow: 4px 4px 5px rgba(0,0,0,0.8); } 10% {box-shadow: -4px 4px 30px rgba(0,0,0,0.8); } 20% {box-shadow: 4px 4px 0px rgba(0,0,0,0.8); } 30% {box-shadow: -4px -4px 30px rgba(0,0,0,0.8); } 40% {box-shadow: 4px 4px 0px rgba(0,0,0,0.8); } 50% {box-shadow: 4px -4px 30px rgba(0,0,0,0.8); } 60% {box-shadow: 4px 4px 5px rgba(0,0,0,0.8); } 70% {box-shadow: 4px 4px 30px rgba(0,0,0,0.8); } 80% {box-shadow: 4px 4px 5px rgba(0,0,0,0.8); } 90% {box-shadow: 4px 4px 0px rgba(0,0,0,0.8); } 100% {box-shadow: 4px 4px 0px rgba(0,0,0,0.8); } }
.shadow21 {box-shadow: 5px 5px 0px 5px rgba(0,0,0,0.8); } .shadow22 {box-shadow: 8px 8px 0px 5px rgba(0,0,0,0.8); } .shadow23 {box-shadow: 11px 11px 0px 5px rgba(0,0,0,0.8); } .shadow24 {box-shadow: 14px 14px 0px 5px rgba(0,0,0,0.8); } .shadow25 {box-shadow: 17px 17px 0px 5px rgba(0,0,0,0.8); } .shadow26 {box-shadow: -5px -5px 0px 5px rgba(0,0,0,0.8); } .shadow27 {box-shadow: -8px -8px 0px 5px rgba(0,0,0,0.8); } .shadow28 {box-shadow: -11px -11px 0px 5px rgba(0,0,0,0.8); } .shadow29 {box-shadow: -14px -14px 0px 5px rgba(0,0,0,0.8); } .shadow30 {box-shadow: -17px 17px 0px 5px rgba(0,0,0,0.8); }
.shadow31 {box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.8);} .shadow32 {box-shadow: 0px 0px 0px 3px rgba(0,0,0,0.8);} .shadow33 {box-shadow: 0px 0px 0px 5px rgba(0,0,0,0.8);} .shadow34 {box-shadow: 0px 0px 0px 7px rgba(0,0,0,0.8);} .shadow35 {box-shadow: 0px 0px 0px 9px rgba(0,0,0,0.8);} .shadow36 {box-shadow: 0px 0px 0px 11px rgba(0,0,0,0.8);} .shadow37 {box-shadow: 0px 0px 0px 13px rgba(0,0,0,0.8);} .shadow38 {box-shadow: 0px 0px 0px 15px rgba(0,0,0,0.8);} .shadow39 {box-shadow: 0px 0px 0px 17px rgba(0,0,0,0.8);} .shadow40 {box-shadow: 0px 0px 0px 19px rgba(0,0,0,0.8);}
.shadow41 {box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.8)} .shadow42 {box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.8)} .shadow43 {box-shadow: 0px 0px 3px 5px rgba(0,0,0,0.8)} .shadow44 {box-shadow: 0px 0px 3px 7px rgba(0,0,0,0.8)} .shadow45 {box-shadow: 0px 0px 3px 9px rgba(0,0,0,0.8)} .shadow46 {box-shadow: 0px 0px 3px 11px rgba(0,0,0,0.8)} .shadow47 {box-shadow: 0px 0px 3px 13px rgba(0,0,0,0.8)} .shadow48 {box-shadow: 0px 0px 3px 15px rgba(0,0,0,0.8)} .shadow49 {box-shadow: 0px 0px 3px 17px rgba(0,0,0,0.8)} .shadow50 {box-shadow: 0px 0px 3px 19px rgba(0,0,0,0.8)}
.shadow51 {box-shadow: 0px 0px 5px -3px rgba(0,0,0,0.8)} .shadow52 {box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.8)} .shadow53 {box-shadow: 0px 4px 5px -3px rgba(0,0,0,0.8)} .shadow54 {box-shadow: 0px 6px 5px -3px rgba(0,0,0,0.8)} .shadow55 {box-shadow: 0px 8px 5px -3px rgba(0,0,0,0.8)} .shadow56 {box-shadow: 0px 10px 5px -3px rgba(0,0,0,0.8)} .shadow57 {box-shadow: 0px 12px 5px -3px rgba(0,0,0,0.8)} .shadow58 {box-shadow: 0px 14px 5px -3px rgba(0,0,0,0.8)} .shadow59 {box-shadow: 0px 16px 5px -3px rgba(0,0,0,0.8)} .shadow60 {box-shadow: 0px 18px 5px -3px rgba(0,0,0,0.8)}
.shadow61 {box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.8) inset} .shadow62 {box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.8) inset} .shadow63 {box-shadow: 0px 0px 7px 3px rgba(0,0,0,0.8) inset} .shadow64 {box-shadow: 0px 0px 8px 4px rgba(0,0,0,0.8) inset} .shadow65 {box-shadow: 0px 0px 9px 5px rgba(0,0,0,0.8) inset} .shadow66 {box-shadow: 0px 0px 10px 6px rgba(0,0,0,0.8) inset} .shadow67 {box-shadow: 0px 0px 11px 7px rgba(0,0,0,0.8) inset} .shadow68 {box-shadow: 0px 0px 12px 8px rgba(0,0,0,0.8) inset} .shadow69 {box-shadow: 0px 0px 13px 9px rgba(0,0,0,0.8) inset} .shadow70 {box-shadow: 0px 0px 14px 10px rgba(0,0,0,0.8) inset}
See the Pen Box-shadow Button by Jiwon Son (@jiwonson) on CodePen.
See the Pen QzKEGe by Jiwon Son (@jiwonson) on CodePen.
See the Pen marrJZ by Jiwon Son (@jiwonson) on CodePen.
CSS: Transform 에 대해서 알아봅시다! (0) | 2019.01.03 |
---|---|
CSS: Blend-Effect 에 대해서 알아봅시다! (0) | 2019.01.03 |
UI/UX: 설계 계획시 고려사항 (0) | 2019.01.02 |
UI/UX: 모바일 서비스 사용자 인터페이스 설계 지침 (0) | 2019.01.02 |
UI/UX: 콘셉트 아이디어 도출하기 (0) | 2019.01.02 |