Design comparison
SolutionDesign
Solution retrospective
I'm having trouble making speech bubbles, very open to all suggestions
Community feedback
- @Zy8712Posted about 1 year ago
Looks pretty good. For the bubble you can see what I did:
<div class="pop-up"> <p> <span>185</span> GB Left </p> <div class="triangle"> </div> </div>
.pop-up{ display: flex; flex-direction: column; justify-content: center; align-items: center; position: absolute; z-index: 10000; right: 0px; top: -70px; width: 150px; height: 65px; border-style: none; border-radius: 10px 10px 0px 10px; background-color: white; } .triangle{ width: 0; height: 0; border-left: 20px solid transparent; border-right: 0px solid transparent; border-top: 25px solid white; position: absolute; top: 100%; right
I had difficulty with this as well when I did the challenge, but once I got it it seemed pretty simple.
Marked as helpful0
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