Coder Social home page Coder Social logo

chat-app's Introduction

Frontend Mentor - Chat app CSS illustration solution

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.

Table of contents

Overview

The challenge

The users would be able to:

  • View the optimal layout for the component depending on their device's screen size

Screenshot

Mobile View

A screenshot showing the mobile view of the design

Desktop View

A screenshot showing the desktop view of the deign

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

I am really happy that I took on this project as it really tested alot of my skills when using CSS. Nesting the div's was really insteresting in making the design come to life. Using padding's, margin's, pseudo-classes, pseudo-elements, CSS grid and flex box was really fun as it helped me strengthing my understanding of this CSS properties.

Using the psuedo-elements for styling and adding the background to the design. You can see the code snippets below;

.section_chat-app::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 50%;
  height: 60%;
  background: linear-gradient(
    90deg,
    rgba(136, 56, 255, 1) 0%,
    rgba(233, 66, 255, 1) 100%
  );
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 0px 0px 1000px 0px;
}

.section_chat-app::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 50%;
  height: 50%;
  background-color: var(--light-grayish-violet-app-background);
  border-radius: 1000px 0px 0px 0px;
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: 0;
}

Continued development

I woud still keep practicing my CSS. I wasn't able to add some animations for when the page loads so I'll be learning how to do that and implement that in more future projects.

Useful resources

  • CodeAgam - This youtube channel helped me with some of the concepts on how to solve challenge as I took some inspiration from the video.

Author

Author

chat-app's People

Contributors

stephenikuomola avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.