Nuxt/test/fixtures/postcss-function/pages/css.vue

16 lines
179 B
Vue
Raw Normal View History

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