Nuxt/test/fixtures/basic/pages/css.vue

16 lines
179 B
Vue

<template>
<div class="red">
This is red
</div>
</template>
<style>
@custom-selector :--red div.red;
:--red {
background-color: blue;
}
.red {
color: red;
}
</style>