在CSS中,如何选择所有id以“section_”开头且以“_dummy”结尾的
<tr>
元素?
例如,我想选择并应用样式到以下的<tr>
元素:<tr id="section_5_1_dummy">
<td>...</td>
</tr>
<tr id="section_5_2_dummy">
<td>...</td>
</tr>
[]
时,必须使用\
进行双重转义=>[id$=\\[something\\]
(例如匹配<div id="cool[something]" />
)。感谢:https://dev59.com/0HM_5IYBdhLWcg3ww2Gb#1239127(一个转义是为了字符串转义``\``,然后转义`[`和`]`)。并且[这里是我如何在此评论中添加``\``的方法](https://meta.stackoverflow.com/questions/275886/backslash-inside-backquotes-in-a-comment)。 - jave.web