분류 css

CSS : Colored Chalkboard 이미지 효과

컨텐츠 정보

  • 조회 418 (작성일 )

본문

CSS : 


.colored-chalkboard-effect { background-image: url(photo.jpg); background-size: cover; background-position: center; } @supports (filter: brightness(2)) and (background-blend-mode: color, difference) { .colored-chalkboard-effect { background-image: url(photo.jpg), url(photo.jpg), url(photo.jpg); background-size: cover; background-position: calc(50% - 1px) calc(50% - 1px), calc(50% + 1px) calc(50% + 1px), center; background-blend-mode: color, difference; filter: brightness(2); } } 


css