2 ms·
A great, detailed description of how to make a button look 3d. I don't care so much about the CSS part, it actually explains how the "light" behaves to create t
by DenisM 17y ago
A great, detailed description of how to make a button look 3d. I don't care so much about the CSS part, it actually explains how the "light" behaves to create the 3d impression.
I think I'll use this to recreate the same in Cocoa. Just yesterday I was going crazy trying to create a decent looking custom UIToolBar button which would work with tinting. This might be the ticket.
- jayair 17y agoI would love to see you implementation. With this post I was trying to strike a balance between the 3D aspect and the CSS code to it. Glad you liked it.
- DenisM 17y agoI think you succeeded in that balance. While I was reading it crossed my mind that even though I don't need CSS for cocoa, having both a precisely algorithmic description in CSS and a plain-English description of the same concept really helps to internalize the content. Neither one of the two would work as well as both of them did.
- dkersten 17y agoI agree. I don't care much about the CSS part, but found this article very interesting and helpful in general since its so thorough and detailed and plan on using this in some desktop GUI projects.