Diagonal shapes with CSS
Information on Border Slants (via Paul Hammond). Border slants are the effect whereby diagonal lines can be created using pure CSS, by taking advantage of the fact that thick borders around a box meet at an angle. This article describes the effect in detail and shows how it can be used to achieve a number of interesting shapes, then goes on to show off with an impressive Valentine’s Day Heart. See also Tantek’s awesome pentagon site map and A Study of Regular Polygons.
Dorothea Salo - 4th July 2003 18:36 - #
Martijn - 4th July 2003 19:45 - #
Noel D. Jackson - 4th July 2003 21:39 - #
Eivind Lie Nitter - 4th July 2003 23:03 - #
Lasse R. Nielsen - 12th October 2003 00:14 - #
Jones - 15th June 2004 14:11 - #