Change an Element's Relative Position

Change an Element's Relative Position
0.0 0

#1

Tell us what’s happening:
I am trying to use a CSS offset to move it 15 pixels away from the top of where it sits in the normal flow but i have failed to.

Your code so far


<style>
  h2 {
  position:relative;
  text-indent: 15px;  
    
  }
</style>
<body>
  <h1>On Being Well-Positioned</h1>
  <h2>Move me!</h2>
  <p>I still think the h2 is where it normally sits.</p>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/change-an-elements-relative-position


#2
h2 { position: relative; top: 15px; }

On Being Well-Positioned

Move me!

I still think the h2 is where it normally sits.


#3

Thanks alot for the help


#4

Welcome, keep coding, keep learning.