M
M
Malamadra2018-03-15 23:08:30
css
Malamadra, 2018-03-15 23:08:30

How to properly create a table with BEM buttons?

Hello everyone, I'm new to bam.
Tell me how to properly format the following construction in BAM (table with buttons related to it):
Thank you in advance

<div class="app">
      <table class="table" >
        <tbody class="tbody">
          <tr class="tr">
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
          </tr>
          <tr class="tr">
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
          </tr>
          <tr class="tr">
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
          </tr>
          <tr class="tr">
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
            <td class="td"></td>
          </tr>
        </tbody>
      </table>
      <span class="minus row button">-</span>
      <span class="plus row button">+</span>
      <span class="minus col button">-</span>
      <span class="plus col button">+</span>
        </div>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question