content property in CSS
问题 In some template I see that an arrow that created with CSS. something like this: div:after{ content:"\f107"; } this code display an arrow like this : what is this code? where I can find more codes? 回答1: Using content property embeds a virtual content inside an element, it is used with a pseudo :before or :after , so if you use :before , the content will be embedded before. From MDN : The content CSS property is used with the ::before and ::after pseudo-elements to generate content in an