See it for yourself. Any feedback? (I'm not a good scripter, but it works and the code is quite small if I may say so.)
By the way, we don't have to wait for CSS 3 to do this, CSS 2.1 is perfectly capable of doing this (::after
), its just the support that is the problem.
Much like the examples in the ALA article, your example needs a background-color: white; or else the effect is completely lost on people who have set a different default background color. :)
Thanks Milo, updated.
A., how would you compare what you have done to this?
M.
I would say mine is the Internet Explorer compatible version :-)
I thought of generated content: <div><::before/><div>
would make it possible for me, just not for IE, damned browser!
Hey, but you can get around that, if you are willing to sacrifice some rounded corners (50%). I do so all the time, and replace the missing GC with borders, and users of Frank-IE-nstein don't even notice!
M.