DEV Community

Discussion on: How to make Button CSS Hover Effect. Pure CSS Wavy Design. Html button.

kunaal438 profile image
Modern Web Author

Yeah I am sorry I didn't thought about readers as well. But after thinking for a solution. I think I have one. We can use CSS media query to check for readers and in case of readers we can change spans display property to none. As readers ignores the elements having display none property.

I hope you understand

Thread Thread
shikkaba profile image
shikkaba

That's a bit much. If you have to use media queries for a decorative item, then that is overcomplicating and adding unnecessary code for the sake of a visual effect that can be done another way not requiring text.

Consider something like what is used here: codepen.io/btargac/pen/JGOGoj