Move a Relatively Positioned Element with CSS Offsets

Move a Relatively Positioned Element with CSS Offsets
0.0 0

#1

Tell us what’s happening:

Your code so far


<head>
<style>
  h2 {
    position: relative;
    left offset: 15px;
    bottom offset: 10px;
    
  }
</style>
</head>
<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; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/move-a-relatively-positioned-element-with-css-offsets


#2

Why writing offset ? :slight_smile:
See the correct syntax here


#3

Plase see css references first

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

#4

Thank you everyone for helping.