Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because you need 20x the JS to do the same thing and it’s still not hardware accelerated. These new CSS properties are well supported and will only get better.




   <span onclick="
      banana.
      classlist.
      toggle('hidden')
   ">click</span>
   <div id="banana" class="hidden">loris</div>



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: