+ 1

Section background image not working on firefox

I have write the following code to make a <section> have a background image. It's working on Chrome and Internet Explorer but it's not shown in firefox. <style type="text/css"> #profile{ width: 100%; height: 100px; background-size: cover; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; background-image: url(https://pbs.twimg.com/profile_banners/6242932/1483907177/1500x500); } </style> <section id="profile" class="img-responsive">

22nd Apr 2017, 1:00 AM
Otávio Barreto
Otávio Barreto - avatar
1 Antwort
+ 10
@Otávio if possible, please post you code in Code Playground so that we can better help you.
22nd Apr 2017, 1:07 AM
Ulisses Cruz
Ulisses Cruz - avatar