html - Background Image not working in Ionic/Javascript/Angular -


my background image not working ionic project in css. works if inline html sloppy. remember hearing base64 not sure. know problem be? thanks

put images want use within project in www/img folder , set style of in html file.

for example:

 <ion-content  style="background: url(img/image_name.jpg) center; background-size: cover;"> 

Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -