Question · JavaScript and React course · Module 7: Styling and Animations

Limitations of Inline Styles in React

Which CSS features are NOT supported by inline styles in React?

Answer options

  • color i backgroundColor
  • fontSize i padding
  • display i position
  • Pseudo-classes (:hover, :focus), media queries, and @keyframes animations

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