Import Background picture

What should I do to import background in Web editor in Glitch?

I’m try to do it but I’m fall

Do you mean you want to set a background image? Here’s how you would do it with CSS:

body {
 background-image: url("image.jpg");
}
2 Likes

In the left project sidebar, click on the assets button, then drag and drop the image you want to import or import it by clicking on the Upload an Asset button.

An URL is generated for the asset that you can then include in your code.

See this tutorial.

2 Likes

Sorry,but I’m know it :frowning_face:

Thanks you very much,keal

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.