19/20 100% Оцените, пожалуйста, код

Немного иначе сделал, много объединил, чтобы было по подобию, а в псевдоэлементах переопределялись только цвет и контент-номер. Дефолтные стили не менял, вообще не трогал их. Имхо удобнее других вариантов тем, что один раз достаточно поменять картинку и литеру карты, чтобы сделать новую карту.

зачитил
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  line-height: 30px;
}

body {
  min-width: 550px;
  min-height: 290px;
  padding: 10px;
}

.two-cards {
  width: 350px;
  height: 250px;
  padding: 10px;
  text-align: center;
}

.two-cards div {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 180px;
  margin: 0 10px;
  margin-top: 30px;
  vertical-align: middle;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Ширина иконок, не изменяйте */
.two-cards div::before,
.two-cards div::after {
  width: 20px;
}

/* Поворот нижней иконки */
.two-cards div::after {
  transform: rotate(180deg);
}
div,
div::before,
div::after{
  background: url(heart.svg) no-repeat 50% 50%;
  background-size: 50px;
}
div:nth-of-type(2),
div:nth-of-type(2)::before,
div:nth-of-type(2)::after
{
  background-image: url(spade.svg);
  color: black;
  content: "2"
}
div::before,
div::after {
  content: "A";
  display: block;
  position: absolute;
  font-size: 25px;
  font-weight: bold;
  color: red;
  background-size: 25px;
  padding-bottom: 45px;
}
div::before {
  top: 5px;
  left: 5px;
}
div::after {
  bottom: 5px;
  right: 5px;
}
по красоте
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  line-height: 30px;
}

body {
  min-width: 550px;
  min-height: 290px;
  padding: 10px;
}

.two-cards {
  width: 350px;
  height: 250px;
  padding: 10px;
  text-align: center;
}

.two-cards div {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 180px;
  margin: 0 10px;
  margin-top: 30px;
  vertical-align: middle;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Ширина иконок, не изменяйте * /
.two-cards div::before,
.two-cards div::after {
  width: 20px;
}

/* Поворот нижней иконки * /
.two-cards div::after {
  transform: rotate(180deg);
}
.ace-heart,
.two-spade,
.ace-heart::before,
.ace-heart::after,
.two-spade::before,
.two-spade::after{
  background: url('heart.svg') no-repeat 50% 50%;
  background-size: 50px;
  
}
.two-spade,
.two-spade::before,
.two-spade::after{
  background-image: url('spade.svg');
}
.ace-heart::before,
.ace-heart::after,
.two-spade::before,
.two-spade::after{
  content: "A";
  font-weight: bold;
  font-size: 25px;
  display: block;
  position: relative;
  left: 5px;
  top: 5px;
  background-size: 25px;
  padding-bottom: 45px;
  color: red;
}
.ace-heart::after,
.two-spade::after{
  left: 95px;
  top: 25px;
}
.two-spade::before,
.two-spade::after{
  content: "2";
  color: black;
}