3 ms·
The problem with the official implementation (using lots of divs) is that you lose the semantical value. They should have used the <button> element that can be
by ks 18y ago
The problem with the official implementation (using lots of divs) is that you lose the semantical value. They should have used the <button> element that can be styled using CSS. He does mention that he tried using <button> elements, but it was released using nested <div> elements