Streaming live at 10am (PST)

Add styles in HTML

Is possible to add to a div html code like this:

<div class="gratis-div" style="background-size:cover;background-image:url(">

i want to add:


Yes, you can put any valid HTML inside the Embed Code component.

You could also insert the div in Webflow and give it an ID, set “cover”. Then set the background with Javascript.

> <script>
> document.getElementById("my-id").style.backgroundImage = "url('')"
> </script>

This way you can see the element in Webflow Designer.

Where is the Embed Code component?