Sir*_*rko 18
搜索负责stroke-width
您当前行的班级.然后插入一个稍微更具体的规则并更改其中的值stroke-width
.
在这个来自nvd3示例的示例中,stroke-width
由以下规则设置:
.nvd3 .nv-groups path.nv-line
Run Code Online (Sandbox Code Playgroud)
所以我们创建一个匹配规则,稍微具体一点,例如:
.nvd3 g.nv-groups path.nv-line
Run Code Online (Sandbox Code Playgroud)
并为其附加一个新值stroke-width
:
.nvd3 g.nv-groups path.nv-line {
stroke-width: 5px;
}
Run Code Online (Sandbox Code Playgroud)