Sunday, February 26, 2006

Safari coolness

Feb 4, 2005++++++I haven't seen this documented anywhere, but it's kinda cool. In CSS you can set the border color and width independently for the side and the bottom. I created a test page with a 50 pixel right border and a one pixel bottom border. In Firefox, the bottom border stops half way across the left border where one would expect it to join with the side border if they were the same width. See an example. On Safari, they do a neat thing. They fade out the bottom border as it comes to meet the left border. For example. As I say, I couldn't find this documented by anyone when I google'd it so it might be worth noting if you do CSS work.

No comments: