Псевдоэлементы 19/20

А кто подскажет “почему” не появляется сердечко на первой карте?

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);
font-weight:bold;
}

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

/* Поворот нижней иконки */
.two-cards div::after {
transform: rotate(180deg);
}

.two-cards div:first-of-type {
background-image: url(/assets/pcourse2/heart-ace.png);
background-position: center;
background-repeat:no-repeat;}

.ace-heart{
background:url(/assets/course57/heart.svg) no-repeat 50% 50%;
background-size:55px;
}

.two-spade{
background:url(/assets/course57/spade.svg) no-repeat 50% 50%;
background-size:55px;
}
.ace-heart::before {
content: “A”;
position: absolute;
top: 5px;
left: 5px;
padding-bottom: 20px;
font-size: 30px;
color: #e50000;
background-size: 25px auto;
background:url(/assets/course57/heart.svg) no-repeat 50% 100%;
}
.ace-heart::after {
content: “A”;
position: absolute;
bottom: 5px;
right: 5px;
padding-bottom: 20px;
font-size: 30px;
color: #e50000;
background-size: 25px auto;
background:url(/assets/course57/heart.svg) no-repeat 50% 100%;
}

.two-spade::before {
content: “2”;
position: absolute;
top: 5px;
left: 5px;
padding-bottom: 20px;
font-size: 30px;
background-size: 25px auto;
background:url(/assets/course57/spade.svg) no-repeat 50% 100%;
}
.two-spade::after {
content: “2”;
position: absolute;
bottom: 5px;
right: 5px;
padding-bottom: 20px;
font-size: 30px;
background-size: 25px auto;
background:url(/assets/course57/spade.svg) no-repeat 50% 100%;
}

Вместо url(/assets/pcourse2/heart-ace.png) должно быть url(/assets/course2/heart-ace.png)

1 лайк