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

16 lines
179 B
Vue
Raw Normal View History

2016-11-07 01:34:58 +00:00
<template>
<div class="red">
This is red
</div>
2016-11-07 01:34:58 +00:00
</template>
<style>
2017-11-21 07:38:12 +00:00
@custom-selector :--red div.red;
:--red {
background-color: blue;
}
2016-11-07 01:34:58 +00:00
.red {
color: red;
}
</style>