News for hackers. Stuff that matters.
Re:CSS Triggers by onion2k on Monday July 28, 2014 @07:19AM (#8096092)
What the site fails to explain is why these things are important. Changing a property that effects a layout change means the browser will need to redraw that element and anything that the geometry has pushed around. A full repaint is slow so if you're doing it often the user's experience will be very negatively impacted. A composite event should be pretty fast as it happens largely on the GPU hardware.

For this reason, for example, animating things with a CSS transform is considerably better for the user than animating a property like left or margin-left. Animating with CSS can be much better than something like jQuery's animate().

If you want to know more, google 'layout thrashing'.

Re:CSS Triggers by callum85 on Monday July 28, 2014 @08:09AM (#8096232)
"fails to explain" is a bit harsh. It's a cheat sheet for people who already know about layout thrashing.
Re:CSS Triggers by zevyoura on Monday July 28, 2014 @05:43PM (#8099511)
If you click on a property name, it actually gives a pretty decent explanation. I agree a link to additional overall context could be useful, but I think you're overstating the gap.
Re:CSS Triggers by mcmillion on Monday July 28, 2014 @07:08AM (#8096058)
Great list. Very useful.

The info box renders halfway off the screen in Safari 7.0.5

Re:CSS Triggers by StephenGL on Monday July 28, 2014 @06:25AM (#8095959)
Fairly useful reference. Nees a key for the colors. I had no idea what the dots meant.
Re:CSS Triggers by gotofritz on Monday July 28, 2014 @06:40AM (#8095993)
There is a key... although they should use tooltips so that when you scroll the key out of view you can still tell which dot is which but rolling over them
Re:CSS Triggers by StephenGL on Saturday August 09, 2014 @06:33PM (#8158194)
Or just scroll the key with the giant "Select a property" thing.
Re:CSS Triggers by wbobeirne on Monday July 28, 2014 @06:56AM (#8096034)
There are tooltips, at least in the form of alt tags.
Re:CSS Triggers by robin_reala on Monday July 28, 2014 @07:17AM (#8096083)
Worth pointing out that this is only tested in Chrome for the time being.