Massive gif as a background?

i have made a 1920x1080 gif using photoshop and would like to use it as my whole background, i’ve imported it as an asset its working but how do i integrate it within the form in client server and i feel like a gif that big is going to cause issues… but i really like to use it fyi im new to anvil and coding stuff…

One way is to put this CSS in your Native Libraries section (change bgimage.anvil.app to your app’s URL, and bg.jpg to the name of your gif).

<style>
body {
  background-image: url(
    "https://bgimage.anvil.app/_/theme/bg.jpg"
  );  
}  
</style>
1 Like