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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -