00025.【CSS】ID选择器的简单使用


<template>
  <h1 id="heading">ID selector</h1>
  <p>Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo
    melon azuki bean garlic.</p>

  <p id="one">Gumbo beet greens corn soko <strong>endive</strong> gumbo gourd. Parsley shallot courgette tatsoi pea
    sprouts fava bean collard
    greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.</p>

</template>

<script setup>

</script>

<style scoped>
#one {
  background-color: yellow;
}

h1#heading {
  color: rebeccapurple;
}
</style>