表格行上的材料纹波效应 [英] Material ripple effect on table row

查看:71
本文介绍了表格行上的材料纹波效应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在玩 FezVrasta

大多数组件都可以正常工作,看起来很棒,但是对我来说表格行上的涟漪效应无法正常工作.

Most of components working and looking great, but ripple effect on table row not working properly for me.

演示: jsfiddle.net

table > tr > td {position:absolute;}

绝对位置有助于但破坏表格结构.

Absolute position helps but destroys table structure.

推荐答案

您不能将<td>以外的任何内容添加到<tr>.

You cannot add anything other than <td> into a <tr>.

换句话说,您只能对<td>具有此效果.这是HTML的限制.

In other words, You can only have this effect for <td>. This is an HTML limitation.

这篇关于表格行上的材料纹波效应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆