问题
I'm playing with google material design bootstrap theme by FezVrasta
Most of components working and looking great, but ripple effect on table row not working properly for me.
Demo: jsfiddle.net
table > tr > td {position:absolute;}
Absolute position helps but destroys table structure.
回答1:
You cannot add anything other than <td>
into a <tr>
.
In other words, You can only have this effect for <td>
. This is an HTML limitation.
来源:https://stackoverflow.com/questions/29105677/material-ripple-effect-on-table-row