Pete Cole's weblog.
Mutterings on things generally.
 


Subscribe to "Pete Cole's weblog." in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


05 July 2003
 

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. [Simon Willison's Weblog]

The Study of Regular Polygons doesn't seem to work on IE6 but the Heart does, and the link from that page to an explanation ios worth following - I think that one leads to the rotating box demo. Wonderful what some people manage to squeeze out of DHTML+css.

 


posted at: 9:01:14 AM  


Click here to visit the Radio UserLand website. © Copyright 2003 Pete Cole.
Last update: 12/08/2003; 09:30:54.
July 2003
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Jun   Aug