Move a Relatively Positioned Element with CSS Offsets
The CSS offsets oftoporbottom, andleftorrighttell the browser how far to offset an item relative to where it would sit in the normal flow of the document. You're offsetting an element away from a given spot, which moves the element away from the referenced side (effectively, the opposite direction). As you saw in the last challenge, using thetopoffset moved theh2downwards. Likewise, using aleftoffset moves an item to the right.
Use CSS offsets to move theh215 pixels to the right and 10 pixels up.
<head>
<style>
h2 {
position: relative;
left: 15px;
bottom: 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>