mladenplavsic / css-ripple-effect

Pure CSS (no JavaScript) implementation of Android Material design "ripple" animation
http://mladenplavsic.github.io/css-ripple-effect
MIT License
341 stars 110 forks source link

Doesn't work on table-row #9

Closed ritz078 closed 7 years ago

ritz078 commented 7 years ago

If display is set to table-row, the ripple starts from centre of the viewport and not the element's centre.

mladenplavsic commented 7 years ago

Changing the display property should not be done that way. Try wrapping the "ripple" element with another one having display: table-row on it.