【发布时间】:2018-11-29 14:44:42
【问题描述】:
enter link description here我在rails 中使用slim html。我需要更改 tr 中第一个 td 的背景颜色。我的代码不能在 slim 中工作,但可以在普通的 html 文件中工作。代码如下:
td:first-child {
border: 1px solid black;
background: #20124D;
color: #FFFFFF;
}
【问题讨论】:
-
添加
code fiddle link -
@BhargavChudasama 在哪里添加?你能分享一些例子吗?
-
there
<>问题窗口中的一个符号在此处添加代码 -
@BhargavChudasama slim html 在 jsfiddle.net 中不可用。你知道纤细的 html 在哪里工作吗?
-
使用
html fiddle and add your external link there