? ???? ? ?? ?? ???? ???? ??? <a>
??? ??? ??? ???? ???? ???. ????? ??? ??? ?? ?? ?? ?? ???? ?? ??? ??? ??? ? ??? ?? ?? ?? ???? ??? ?????.
??? ? CSS ??????
??? ???? ?? ??? ??? ?? ??????.
content: ''a::after
上的
丟失。對于偽元素,content
屬性可以為空 ""
, ??? ???? ???. position:relative
需要位于 a
上,因為偽元素 a::after
使用 position:relative
. a::after
正在使用background-color:inherit
但似乎沒有任何可以繼承的值。我現(xiàn)在給它一個值 hotpink
??? ??? ?? ????? ?? ??? ? ????. a
上添加了 cursor:pointer
? ??? ??? ??? ? ?????. ??? ??? ????!
?: (?? ??? ?? ??? ?? ??)