<div class="flex__container">
  <div class="avatar">:)</div>
  <div class="media__heading"></div>
  <div class="media__content"></div>
  <div class="action"></div>
</div>
@import url("https://fonts.googleapis.com/css?family=Gochi+Hand");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  background-color: #291642;
  font-family: "Gochi Hand", sans-serif;
  font-size: 100%;
  letter-spacing: 0.1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: linear-gradient(to right, #44ea76 0%, #39fad7 80%, #39fad7 100%)
      no-repeat,
    url("https://lh4.googleusercontent.com/-3eBjuQpOGFw/U47yh_-OycI/AAAAAAAAI2U/uaU5pK49N1w/s1600/normal.jpg")
      no-repeat fixed;
  background-size: cover;
  background-blend-mode: hue;
}

.flex__container {
  inline-size: 50vw;
  min-block-size: 50vh;
  min-inline-size: 30vw;

  display: flex;
  flex-direction: column;
  place-content: center;
  place-items: center;

  border-radius: 5px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4vh;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;

  overflow: hidden;
  resize: both;

  background-image: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.5)
  );
  backdrop-filter: blur(3px);
}

.flex__container > * {
  flex-shrink: 0;
}

.avatar {
  inline-size: 64px;
  block-size: 64px;
  background-color: #574d4d;
  border-radius: 50%;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.8rem;
}

.media__heading {
  height: 32px;
  width: 30%;
  background-color: #574d4d;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.media__content {
  height: 32px;
  width: 60%;
  background-color: #574d4d;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.action {
  width: 136px;
  height: 38px;
  background-color: #574d4d;
  border-radius: 4px;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.