我正在尝试选择匹配的项目,".class#id"根据Jquery多选择器看起来很自然,选择符合这两个标准的项目,
但它似乎只适用于Firefox.IE不支持这个吗?!
具体来说,我有
<div id="A" class="x">
<div id="A" class="y">
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
我想选择 $( ".y#A" )
谢谢,尼克
我曾经设置类似于这篇文章的背景颜色:如何更改gnuplot中的背景颜色?
但是,对于最新的(4.5)版本,我被告知这种颜色选择已经过时了.有谁知道如何做到这一点?我尝试使用"set terminal png size 640,296 background#000000",但我被告知#000000不是#RRGGBB形式的字符串
我不同意,但终端没有心情争辩.
编辑:要添加到下面提供的解决方案,我从来没有在GNUplot中找到它,而是使用imagemagick命令
convert the.png -fill black -opaque white the.png
Run Code Online (Sandbox Code Playgroud)