Design comparison
SolutionDesign
Solution retrospective
Any advice is welcome, the hardest part was changing the button's text to transparent if you know how to do it, let me know.
Community feedback
- @arey-devPosted over 2 years ago
Hello! your work is great!!
I think the button's text and the
p
tag has the same color. But if you want to reduce theopacity
of the button's text. You can usehsla()
function, it takes four value. The fourth value is the alpha value, it determines the opacity of the color.Example:
button:hover { color: hsla(0, 100%, 100%, 0.5); }
0@ZLikasPosted over 2 years ago@arey-dev Hi, I've tried this method, the text inside becomes white instead of transparent.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord