您可以在指定的情况下使用以下内容 -
a:hover p// In case You want to apply some style on all the <p>-tag which are either immediate child or successors of an <a>-tag.
{...}
或者
a:hover p.service-sub// In case You want to apply some style on all the <p>-tag with class-"service-sub" which are either immediate child or successors of an <a>-tag.
{...}
或者
a:hover .service-sub// In case You want to apply some style on all the elements with class-"service-sub" which are either immediate child or successors of an <a>-tag.
{}
对于您想做的事情,请使用它-
a:hover>p.service-sub// In case You want to apply some style on all the <p>-tag with class-"service-sub" which are child elements of an <a>-tag.
{...}