How does css3 realize the ripple effect of different colors on a click?
This article introduces the knowledge of "how to achieve different color ripple effects in css3". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Css3 clicks to show ripple effects of different colors
/ * NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! * /
.ripple {
Position:absolute
Width:100vmax
Height:100vmax
Top:-50vmax
Left:-50vmax
Border-radius:50%
}
Body {
Overflow:hidden
}
.pad {
Position:absolute
Left:0
Right:0
Top:0
Bottom:0
}
Css section:
.ripple {
Position:absolute
Width:100vmax
Height:100vmax
Top:-50vmax
Left:-50vmax
Border-radius:50%
}
Body {
Overflow:hidden
}
.pad {
Position:absolute
Left:0
Right:0
Top:0
Bottom:0
}
This is the end of the content of "how to click on different color ripple effects in css3". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!