Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Pure CSS arrow with border (tooltip)

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 index.html

Pure CSS arrow with border (tooltip)

You probably know already how to shape a div into a triangle. If you're not familiar with this technique, read this.
I was discussing with a friend some time ago that this is a perfect solution to add an arrow on top of a popup for instance, but he kept saying that it's still impossible to add a border to the triangular div.

Well, with this technique it's really easy to achieve just that. It's a pure CSS solution.

See how it looks in this here.

Something went wrong with that request. Please try again.