Make the line as long as the maximum distance between the top left and bottom right corners of the parent container. This will make the line slightly longer than the container when lying flat, but fit perfectly when on a 50% slope. Let the parent crop the overflow.
Soviut
2009-09-17 05:29:24