<template>
<h1>Attribute presence and value selectors</h1>
<ul>
<li class="a">Item 1</li>
<li class="A">Item 2</li>
<li class="AB">Item 3</li>
</ul>
</template>
<script setup>
</script>
<style scoped>
li[class^="a"] {
background-color: yellow;
}
li[class^="a" i] {
color: red;
}
</style>