I’m trying to build my dog using html and css elements, and he has heart shaped ears. Why isn’t my pseudo-element working!!! I basically copied and pasted it from the heartbeat challenge…
.right-ear{
background-color: #4d2715;
height: 20%;
width: 20%;
transform: rotate(-45deg);
}
.right-ear::before {
background-color: #4d2715;
content: "";
border-radius: 50%;
width: 20%;
height: 20%;
top: 0px;
left: 25px;
}
Here is my pooch in his entirety: https://codepen.io/ballek/pen/KONGzG