Navtosh Adhikari
Navtosh Adhikari

Reputation: 198

Background properties not working on safari web broswer

I am having problems with Mozilla browser.

Below properties working on Mozilla but not in safari. How can i use same code in both browser. I have tried this code for both browser

background: url("../img/side_line.png") no-repeat scroll 3% 50% / 10px auto rgba(0, 0, 0, 0);

but below properties working on safari but not in Mozilla

background: url("../img/side_line.png") no-repeat ;
background-position-x: 3%;
background-position-y: 50%;
background-size: 8px;

Upvotes: 0

Views: 85

Answers (1)

Syoki
Syoki

Reputation: 46

how about this?

background:url(../img/slide_line.png) 3% 50% no-repeat; 
background-size:8px auto;

Upvotes: 1

Related Questions