Quote:It's probably a simple enough concept that you could do it with straight-up Javascript.That's what I intended. However, I've been using so much styling and animation that I've written over 500 lines of code just for an introduction. If I continue like this, the game will probably be 2000 lines long and unplayable because of the distracting animations. It's hard to think of an interface that would make the game playable, that's relatively easy to program and that doesn't look terrible.
Quote:Yeah, CSS has been able to do rounded corners for a while now. Gradients, too.CSS allows you to round all or some of the corners of a div. As far as I know, it doesn't allow you to put a round corner between the header and the navigation bar, yet alone put a conical gradient in it.
Quote:Being able to use variables, if/else, math operators, etc. directly in a file that will be exported as valid CSS is so, so nice.Yes, I've started to use JQuery stile injections because of that.