locked
MVC Background image RRS feed

  • Question

  • User507966498 posted

    Hello community,

    I have a web app, and I would like to give it a nice look. I downloaded some images from google and added them to my app. But I have notice that no matter the resolution of the picture that I download, it always come out blurry at run time. I have tried 500x300 to 7000x3000px, but the result.

    This is how I added the background:

    <body style='background-image:url(../content/bck.jfif);background-repeat:no-repeat;background-size: 100%;padding-top:500px;padding-bottom:200px'></body>

    Please can anyone tell me how to get a nice background output. Thank you in advance!

    Thursday, November 7, 2019 2:27 PM

All replies

  • User61956409 posted

    Hi sk209,

    I downloaded some images from google and added them to my app. But I have notice that no matter the resolution of the picture that I download, it always come out blurry at run time.

    If possible, you can share the image link, so that we can do a test based on your code and image and help troubleshoot the issue.

    With Regards,

    Fei Han

    Friday, November 8, 2019 1:41 AM