Tell us what’s happening:
Your code so far
<head>
<style>
h2 {
position: relative;
top offset:10px;
bottom offset:10px;
right offset:15px;
left offset: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>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
.
Challenge: Move a Relatively Positioned Element with CSS Offsets
Link to the challenge: