분류 css

CSS : 콜라주 이미지 효과

컨텐츠 정보

  • 조회 480 (작성일 )

본문

CSS : 


.collage-effect { background-image: url(photo.jpg); background-size: cover; background-position: center; } @supports (background-blend-mode: overlay) { .collage-effect { background-image: url(photo.jpg), url(photo.jpg), url(photo.jpg), url(photo.jpg), url(photo.jpg), url(photo.jpg); background-size: 200%, 80%, 60%, 50%, 40%, 100%; background-position: 50%, 80%, 30%, 0; background-blend-mode: overlay; background-repeat: no-repeat; } } 

css