訪(fǎng)問(wèn)CSS“:”帶有jQuery的選擇器我有以下CSS:.pageMenu .active::after {
content: '';
margin-top: -6px;
display: inline-block;
width: 0px;
height: 0px;
border-top: 14px solid white;
border-left: 14px solid transparent;
border-bottom: 14px solid white;
position: absolute;
right: 0;}我想使用jQuery更改頂部、左側(cè)和底部邊框的邊框?qū)挾?。我用?lái)訪(fǎng)問(wèn)這個(gè)元素的選擇器是什么?我試過(guò)以下幾種方法,但似乎不起作用。$('.pageMenu .active:after').css(
{
'border-top-width': '22px',
'border-left-width': '22px',
'border-right-width': '22px'
}
)
訪(fǎng)問(wèn)CSS“:”帶有jQuery的選擇器
繁華開(kāi)滿(mǎn)天機(jī)
2019-06-20 15:39:33