Sorry, this video is for subscribers only.

Click here to subscribe!

Overlapping Elements

Now for something a bit trickier: we need to position our arrow so that it overlaps the top of our drawing area. We add the HTML, write the test, and get it centered. Overlapping the arrow is pretty easy—we use a negative margin to start—but our test says we’re four pixels off target. What’s wrong?

comments powered by Disqus