This is a solution to the Chat app CSS illustration challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the component depending on their device's screen size
- Bonus: See the chat interface animate on the initial load
- Solution URL: Solution
- Live Site URL: Live Site URL
- HTML5
- CSS
- Flexbox
- Mobile-first workflow
The main things i learned from this challenge were how to create my own arrow icons using, transform(skew) as I wasn't able to find the icon i was looking for in fontawesome or similar websites. I learned how to use border-radius to create the shape of a phone. Also, firefox was resizing a div and looked different to how it looked in chrome and safari, so I learned how to change this using @media moz-document.
To see how you can add code snippets, see below:
<h1>Targeting only firefox</h1>@-moz-document url-prefix() {
.iphone-container {
height: 508px;
}- Create Chevron - This helped me for creating a chevron icon.
- Skew - This helped me for changing the angle of the chevron to get it looking closer to the icon in the design.
- Fancy border Radius Generator - This is an amazing tool which is a life saver when you are trying to get the perfect borders. This helped me a lot when making the container for the phone.
- Frontend Mentor - @jkellerman
