Better HN
topnewbestaskshowjobs
Log inSign up

matthewlein

7 karma · joined Sep 4, 2015 (11y ago) · 3 submissions

Submissions

comment 10y ago · link · parent

Their modified BEM choice is surprising. I think BEM works best when the dividers have meaning. In their examples its impossible to know what is a modifier vs an...element? I don't get it from the examples.

  .accordion
  .accordion-item
  .accordion-item-selected

  .nav_bar
  .nav_bar-link
  .nav_bar-link-clicked
Though its the most ugly, I'm a fan of the original B__E--M

comment 11y ago · link · parent

Hello, author here. Didn't expect to see this on hacker news after so many years :)

For you hardcore easers, @blurspline made some improved values by scripting tons of variants. Probably the way I should have done it, but I was in a rush to get it out before anyone else and never revisited it. http://www.lab4games.net/zz85/blog/2014/12/26/better-cubic-b...

comment 11y ago · link · parent

Hello, author here. I didn't actually have anything to do with it, just noticed that they included them when I was playing with the feature. Fun surprise!