Question · React Native course · Module 2: Lists and styles

Position absolute

What does position: 'absolute' do in React Native?

Answer options

  • Removes the element from the DOM
  • Positions the element relative to its parent, taking it out of the normal flow
  • Makes the element invisible
  • Centers the element on the screen
Show the answer

Correct answer:

  • Positions the element relative to its parent, taking it out of the normal flow