Background-size (Mozilla Firefox)

1

I have the following code

background-image: url(#minha0imagem#); 
background-size: contain; 
background-repeat: no-repeat;

Chrome stays the way I want, in the center and full screen. In firefox no.

I've tried -moz, -webkit, I've updated my firefox.

It seems that the way firefox works with image resizing is different from chrome and even using pure CSS3 and HTML5 I can not replicate the effects.

    
asked by anonymous 24.01.2017 / 20:39

1 answer

0

Try this:

background: url('sua_imagem.jpg')no-repeat center top;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
    
24.01.2017 / 20:48