Re:H2 {position: sticky} [video]
by Shish2k on Thursday September 12, 2013 @05:53AM
(#6373110)
Having an always-visible "current section" header while scrolling a large document seems quite useful to me...
[ Parent
| on HN ]
Table-based layout was useful and frequently easier too and we still abandoned it. I still believe this is behavioral markup and should be done in JS.
mind explaining what you mean by behavioral markup?
CSS that tries to be a declarative approach to describing behavior. This is wrong in my opinion like HTML tags for styling were wrong. I think this is wrong because behavior is so incredibly complex that you end up defining rules for everything - and in the end, using a imperative language is much simpler.
I know it's different, but the argument here http://dealloc.me/2011/06/24/d3-is-not-a-graphing-library.ht... applies in a similar way.
Are you also then against CSS transitions?