Tell us what’s happening:
Use CSS offsets to move the h2 15 pixels to the right and 10 pixels up.
Your code so far
<head>
<style>
h2 {
position:relative;
right:15px;
top: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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
.
Challenge: Move a Relatively Positioned Element with CSS Offsets
Link to the challenge: