Submitted 9 months ago
Chat App Illustration with animation | Vue, HTML, SCSS
@huyphan2210
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
What I've done beside the requirements:
- I added simple animation for this page.
- I also revisited Vue, which I had abandoned for a long time.
What I encountered:
- I set "min-height: 100vh" in the and styled the element with "height: 100%" but it didn't work.
- It turned out, "height: 100%" only works if the parent element has a specific height. For example: "100px", "20rem", etc.
- I wanted the element to fill in the content of the element. After researching, I found out a way: styled with "display: flex" and styled with "flex-grow: 1"
- Note: the above can only work if is the only static child element inside of . If there was another static element inside of , you have to find other ways.
- I applied the same trick with other elements as well.
What I think can be better:
- Though I added some animation in this app, I've still not yet satisfied with the result.
- Is there a Vue way to manipulate the elements to have them animated in order?
Community feedback
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