Tailwindcss: [Feature Request] add `ripple`

Created on 30 Sep 2019  路  2Comments  路  Source: tailwindlabs/tailwindcss

e.g

<div class="ripple">

</div>

reference: https://codepen.io/finnhvman/pen/jLXKJw

Most helpful comment

I think this is probably too opinionated to bake into the framework but you can add it to your own projects by creating a component class or a custom utility:

https://tailwindcss.com/docs/extracting-components
https://tailwindcss.com/docs/adding-new-utilities

All 2 comments

I think this is probably too opinionated to bake into the framework but you can add it to your own projects by creating a component class or a custom utility:

https://tailwindcss.com/docs/extracting-components
https://tailwindcss.com/docs/adding-new-utilities

here's a ready utility if you are lazy to create yours tailwindcss-ripple. Follow the installation guide.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jbardnz picture jbardnz  路  3Comments

rgaufman picture rgaufman  路  3Comments

spyric picture spyric  路  3Comments

nternetinspired picture nternetinspired  路  3Comments

chasegiunta picture chasegiunta  路  3Comments