Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vue image as background-image

<template>
  <div :style="{'background-image':'url(https://vuejs.org/images/logo.png)'}">
  </div>
</template>
Source by reactgo.com #
 
PREVIOUS NEXT
Tagged: #vue #image
ADD COMMENT
Topic
Name
8+7 =