정보실

웹학교

정보실

css CSS : Emboss 이미지 효과

본문

CSS : 


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


페이지 정보

조회 200회 ]  작성일18-09-03 16:07
css

웹학교