Making shapes with some CSS and Javascript