<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Contact Cards</title>
    <link rel="stylesheet" href="./contact.css">
    <link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap" rel="stylesheet">
</head>
<body>
    <main class="main">
        <div class="image">
            <img src="https://aijourn.com/wp-content/uploads/2020/04/Pujaa.jpeg" alt="Mariam Ayomide" class="image__picture">
        </div>
        <div class="contact">
            <h3 class="contact__name">Mariam Ayomide</h>
            <p class="contact__title">Web Developer</p>
            <button class="contact__btn">Hire Me</button>
        </div>
    </main>
</body>
</html>
* {
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}
body {
  background-color: #f2f0f1;
}
.main {
  margin: 100px;
  min-height: 100px;
  width: 500px;
  background-color: #fff;
  display: flex;
  align-items: center;
  border-radius: 5px;
}
.image {
  flex: 0.3;
  height: 100%;
  padding: 20px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #f2f0f1;
}
.image__picture {
  width: 100%;
  border-radius: 50%;
}
.contact {
  flex: 0.7;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.contact > * {
  margin: 0;
}
.contact__title {
  margin-bottom: 15px;
}
.contact__btn {
  background-color: #77acf1;
  border: none;
  outline: none;
  width: 150px;
  padding: 10px;
  color: #fff;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.