I need to set a single linear-gradient background for 3 consecutive rows in a table:
<table>
<tbody>
<tr><td>1</td></tr>
<!-- background starts here -->
<tr class="bg"><td>2</td></tr>
<tr class="bg"><td>3</td></tr>
<tr class="bg"><td>4</td></tr>
<!-- background ends here -->
<tr><td>4</td></tr>
</tbody>
</table>
What I now have is one gradient per row: http://jsfiddle.net/orkLLbpz/. Any ideas how to go from here?
Please note that all rows in table are in tbody element, so I can't use another tbody to group those rows.
I don't think this is possible, I have also same requirement in a project.
what I have done : use a css trick like this
Updated Jsfiddle
This is not a proper answer but may be works for you.