Very impressive! As I've hit my mid-life slide and (regressed|progressed) back to my youth-self, I've found myself just writing a bunch of apps and sites in html and css and really enjoying it. One thing I still would like to see cracked is a random-like number in pure CSS. You can almost us there with some of the math functions and browser attributes, but I haven't found anything reliable.
you can pretty easily get randomness for clickable stuff by animating the z-index of multiple objects
CSS Minecraft
151–154 of 154 posts
Re: CSS Minecraft
#152Earlier quoted context omitted.
These sorts of CSS experiments have been around for as long as CSS. There even used to be a site where an entire community would take basic markup and use CSS to turn it into something else. (I just googled that phrase - the site is CSS Zen Garden. It’s impressive Google found it because that was a bad search.) Some people did create monstrosities, others learned the limits of CSS and used that knowledge to advance C…
CSS Zen Garden is not an experiment as shown in the title of this post. The Garden shows how CSS can style the HTML elements in many different ways but it is not there to create or manipulate images as shown in the subject of this post. That said, I have not looked at the Garden in many years so if you fine one, then you found .... one ... and I loop back to my original comment: that such things are impractical, it's…
It may be worth reading some cognitive psych.
Re: CSS Minecraft
#153Earlier quoted context omitted.
One would need to know the tag is self-closing in order to put the closing slash in. Right? So if one knows it's self-closing already, why do they need to add the extra weight? Makes no sense. If one wants to add content to a self-closing element, one has far more problems than we're talking about here.
It can be done by libraries, for example, which want their output to be valid in both HTML and XHTML. Note that's it's not a syntax error in HTML - because HTML doesn't have syntax errors. The HTML5 spec tried to codify all the weird Postel's law quirks of existing HTML4 parsers, and in this case, tells you how to ignore the extra / if you're a parser. Nothing is a syntax error.
So it's best to not do it altogether. If one thinks they need to be compliant with both HTML and XHTML, I'd bet they have far more problems with the rest of their markup that would fail at such an effort.
Re: CSS Minecraft
#154Earlier quoted context omitted.
[flagged]
Stupid comment, sure. That's always true with me. Shill for my app? I don't even know what shill means. Plug for my app? Not really. It's pretty much dead atp. I'm just discussing my own experiences with the topic in the thread. But yes, please downvote me. It helps remind me that this place isn't for me.