CSS 그라데이션을 배경 이미지 위에 오버레이하려고합니다. 파이어 폭스에서 작동하고 있지만 사파리와 크롬에서는 그라데이션이없는 배경 이미지 만 얻는다. 하지에, 내 문제가 웹킷있을 것 이미지 뒤에 그라데이션을 표시 그라디언트 오버레이가있는 CSS3 배경 - Firefox에서만 그라데이션 사용
는가 업데이트 (I 각 줄의 끝에 http://www.colorzilla.com/gradient-editor/를 사용하여 그라데이션 코드, 단순히 추가 URL을() 생성) 꼭 필요한 것처럼, 파이어 폭스는 그렇습니다.
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(99, 130, 169, 0.7) 100%), url(app/bg.jpg) no-repeat center center fixed; /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0, 0, 0, 0)), color-stop(100%, rgba(99, 130, 169, 0.7))), url(app/bg.jpg) no-repeat center center fixed; /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(0,0,0,0.16) 100%), url(app/bg.jpg) no-repeat center center fixed; /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(99, 130, 169, 0.7) 100%), url(app/bg.jpg) no-repeat center center fixed; /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%,rgba(99, 130, 169, 0.7) 100%), url(app/bg.jpg) no-repeat center center fixed; /* IE10+ */
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(99, 130, 169, 0.7) 100%), url(app/bg.jpg) no-repeat center center fixed; /* W3C */
이미지 사용을 방해하는 요구 사항은 무엇입니까? – IcedDante
공정한 질문을하고, 결국 내가 뭘할지 모르지만 한 회색 음영, 전체 화면 배경 이미지 만 있으면 다른 색 그라디언트 오버레이를 사용하여 색을 완전히 바꿀 수 있습니다. 파이어 폭스에서 좋은 효과 ... – christian