公司寫了一個(gè)公共樣式,我自己的頁(yè)面有一個(gè)樣式,我想取消公共樣式里的:after樣式,該怎么寫css?如圖,:after樣式使得左邊多了一個(gè)小的箭頭,我想去掉箭頭,該怎么辦?下面是after樣式:.icon-left:after,.icon-right:after{content: "";position: absolute;top: .4rem;left: .25rem;height: .5rem;width: .5rem;font-size: 1rem;border-right: .1rem solid $whiteColor;border-top: .1rem solid $whiteColor;border-left: .1rem solid transparent;border-bottom: .1rem solid transparent;z-index: 20;}
css怎么取消:after樣式
翻閱古今
2018-12-18 21:15:15