Question · Vue.js course · Module 6: Components

The scoped attribute in style

What does the scoped attribute do in <style>?

Answer options

  • Compresses CSS code
  • Limits styles to this component only
  • Adds transition animations
  • Removes unused selectors

You can check the correct answer by solving this task in the CodeWorlds game.