Svelte quiz · 21 questions

Styling

Read the code

The styling rules in code snippet are scoped to the component.


    <p>This is a paragraph.</p>

    <style>
      p {
        color: purple;
        font-family: 'Comic Sans MS', cursive;
        font-size: 2em;
      }
    </style>
  • 1–2 answer
  • ← previous
Question 18 of 2181%