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' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -