我有一个页面,https://adsler.co.uk/jobs/,但是当我尝试使用model.compile(optimizer='adam', loss='mse')
model.fit(X, y, epochs=1) # prints out: Training None
更改广告的背景颜色时,它不起作用。
尝试:
a href=
什么都没有。
我使用的是WordPress,页面由插件控制,因此难以编辑php / html,甚至找不到div类控制项,
答案 0 :(得分:2)
您需要删除a
和[href...]
之间的空格。
ul.job_listings li.job_listing a[href="https://adsler.co.uk/job/nicos-cleaning-service-london-6-cleaner/"] {
background-color: white;
}
ul.job_listings li.job_listing a:active[href="https://adsler.co.uk/job/nicos-cleaning-service-london-6-cleaner/"] {
background-color: white;
}
body {
background: black;
}
a {
display: block;
}
<ul class="job_listings">
<li class="post-7252 job_listing type-job_listing status-publish has-post-thumbnail hentry job-type-freelance" data-longitude="" data-latitude="" style="visibility: visible;">
<a href="https://adsler.co.uk/job/nicos-cleaning-service-london-6-cleaner/">
<h3>Cleaner</h3>
</a>
</li>
<li class="post-6399 job_listing type-job_listing status-publish has-post-thumbnail hentry job-type-temporary" data-longitude="" data-latitude="" style="visibility: visible;">
<a href="https://adsler.co.uk/job/nicos-cleaning-service-london-5-cleaners-needed/">
<h3>Cleaners Needed</h3>
</a>
</li>
<li class="post-6379 job_listing type-job_listing status-publish has-post-thumbnail hentry job-type-temporary" data-longitude="" data-latitude="" style="visibility: visible;">
<a href="https://adsler.co.uk/job/customer-assistant/">
<h3>Customer Assistant – Chelsea</h3>
</a>
</li>
<li class="post-6169 job_listing type-job_listing status-expired has-post-thumbnail hentry job-type-freelance" data-longitude="" data-latitude="" style="visibility: visible;">
<a href="https://adsler.co.uk/job/cleaner/">
<h3>Cleaner</h3>
</a>
</li>
</ul>
以下是一个小提琴: https://jsfiddle.net/3ycrt1qj/
答案 1 :(得分:1)
图片中有CSS选择器。
您可以通过
只需将CSS应用于您的元素即可a[href="https://adsler.co.uk/job/nicos-cleaning-service-london-6-cleaner/"]{
/*your css properties*/
}
以下是一些参考供您
Syntax: [attribute^=value]
Example: a[href^="https"]
Description: Selects every <a> element whose href
attribute value begins with "https"
Syntax: [attribute$=value]
Example: a[href$=".pdf"]
Description: Selects every <a> element whose href
attribute value ends with ".pdf"
Syntax: [attribute*=value]
Example: a[href*="someValue"]
Description: Selects every <a> element whose href
attribute value contains the substring "someValue"'
希望这对您有帮助