bread-crumbs

by jshacker

HTML

<div class="css">CSS</div>
<div class="matic">matic</div>

CSS

body {
  margin: 0;
  background-color: #fff;
}
.css {
  background-color: #5a8ab9;
  height: 60px;
  width: 100px;
  border-radius: 10%;
  margin: 40px auto;
  text-align: center;
  line-height: 60px;
  font-size: 40px;
  color: white;
  font-weight: bold;
  position: relative;
}
.css::before {
  color: #5a8ab9;
  content: "{";
  font-weight: bold;
  position: absolute;
  left: -10px;
  top: -5px;
  font-size: 62px;
  font-family: Arial;
}
.css::after {
  color: #5a8ab9;
  content: "}";
  font-weight: bold;
  position: absolute;
  right: -10px;
  top: -5px;
  font-size: 62px;
  font-family: Arial;
  text-shadow: 3px 0px 0 white;
}
.matic {
  background-color: #57595b;
  height: 60px;
  width: 140px;
  border-radius: 0 10% 10% 0;
  margin: 40px auto;
  text-align: center;
  line-height: 55px;
  position: relative;
  top: -100px;
  left: 115px;
  font-size: 42px;
  color: white;
  font-style: italic;
  z-index: -1;
}

.matic::after {
  color: #57595b;
  content: "}";
  position: absolute;
  right: -7px;
  top: -2px;
  font-size: 62px;
  font-family: Arial;
  font-style: normal;
}