Skip to content Skip to sidebar Skip to footer

Vue Is Removing A Background-image In And With The Style Attribule

For some reason vue is removing both the style attribute and the background image. This tag

Solution 1:

The style attribute should not have any newline characters. This works just fine

<section style="background: url(images/banners/profiles/profile-banner-1.png);" .../>

Demos:

  1. Working ~ http://jsfiddle.net/krz1gvqt/
  2. Not working ~ http://jsfiddle.net/krz1gvqt/2/

Post a Comment for "Vue Is Removing A Background-image In And With The Style Attribule"