1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<template>
<div class="wrapper">
<div class="box b"></div>
</div>
</template>
<script setup>
</script>
<style scoped>
.box {
width: 100px;
height: 100px;
}
.b {
background-image: url("../assets/star.png");
background-color: green;
background-repeat: no-repeat;
}
</style>
|