面试题答案
一键面试@media (max - width: 600px) {
nav::before {
content: "\2605"; /* 这里以五角星为例,可替换为你想要的Unicode字符 */
color: inherit;
font - size: inherit;
margin - right: 5px;
}
nav::after {
content: "\2606"; /* 这里以空心五角星为例,可替换为你想要的Unicode字符 */
color: inherit;
font - size: inherit;
margin - left: 5px;
}
}