Live data from Hacker News

A Single Div

a.singlediv.com

121–130 of 146 posts

Re: A Single Div

#121
post #111
post #103

Earlier quoted context omitted.

Considering PNG has been around since 1996 and HTML pages can load arbitrary images and fonts, we don't need pure CSS icons. We have purpose-built formats for images. This CSS image project is just for fun. The whole "[something] in pure CSS" began when people realized how awful table-based layouts are. First it was layouts, then full-blown designs. This is almost like the most extreme version of that trend, almost t…

While that may be true for this site, I do think CSS could be very useful for icons, since the it's infinitely zoomable, and a PNG isn't.

SVG? Vectorized, far better browser support than advanced CSS, advanced WYSIWYG editor support.

Re: A Single Div

#122
post #7
post #2

Could someone please enlighten me as to what I am looking at? The images are nice, and ...?

That's clever. It didn't even slow done my modest laptop.

So would it be possible to have an SVG ==> CSS exporter which would lighten the load on most browsers? Is there always a performance 'gain' in using CSS?

Re: A Single Div

#124
post #87

Earlier quoted context omitted.

> But it's beautiful and clever, and if you truly can't appreciate it, that's sad. Interesting. Is it as sad as the fact that one still cannot vertically center a div in CSS without using elaborate hacks?

Statements like this remind me of "MySQL does not support transactions".

It depends on what you mean by "supports". If you use myisam or need DDL statement rollback MySQL is still not a great option.

http://wiki.postgresql.org/wiki/Transactional_DDL_in_Postgre...

http://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html

Re: A Single Div

#125
post #105

Earlier quoted context omitted.

http://caniuse.com/#feat=flexbox Until most IE users upgrade to 11, it's not usable by those of us who can't exclude a large chunk of our users.

has caniuse.com replaced quirksmode now as the canonical source of this kind of information?

caniuse.com provides broad outlines, quirksmode is much more specific and PPK hasn't really worked on the new non-mobile stuff so far, as far as I've seen. Nothing on flexbox for instance, although he does have box-sizing: padding-box.

caniuse is good for "is there a chance this will work?" or "could I use $some_feature in my new project?", quirksmode is "why doesn't my use of $some_feature work in $pile_of_shit_browser?!?!?!!!"

Re: A Single Div

#129

Earlier quoted context omitted.

http://caniuse.com/#feat=flexbox Until most IE users upgrade to 11, it's not usable by those of us who can't exclude a large chunk of our users.

yeah, because users will die if content is not cantered strictly vertically in their IE10.

ignoring your frankly unnecessary sarcasm, I'd have to point out that some of us are held to the expectation that websites should look almost the same in older browsers. My previous employer, for example, required full support of all features in IE7, and that the product should even bear some resemblance to a website in IE6. In that situation (combined with AJAXed content making polyfills difficult), flexbox isn't usable. I'm sure I'm not the only one who has been in the situation of having to support non-bleeding-edge browsers.

Re: A Single Div

#130

What shitty fucking whiners you lot are. This is a fun technical experiment. It's clearly not advocating for some sort of production environment usage of pure CSS/single-div imagery in lieu of SVGs. It's a mental challenge and a fun "I wonder if" experiment. Any of you busily shouting high from the mountaintops how this is useless and pointless and stupid and derf, don'tyouknowthisisn'tpractical should stop well shor…

Hear hear! A true hacker forum should applaud experimentation not nitpick at it. It helps us all to know the limits of client-side drawing by various means no matter if your site needs a Mario mushroom or not.
Post reply on HN