11.04.20 ::before and ::after pseudo elements Use display: inline-block to make sure they're visible. To place an icon in an input field, it can be set as the background-image. .icon::after { background-image: url(../../assets/chevron-down.svg); content: "";