Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 将文本输入的边框设置为“无”_Css - Fatal编程技术网

Css 将文本输入的边框设置为“无”

Css 将文本输入的边框设置为“无”,css,Css,如何使用fes名称值将文本输入的边框设置为none <tr class="fes-single-variation"> <td class="fes-name-row"> <input type="text" class="fes-name-value" name="option[0][description]" id="options[0][description]" rows="3" value=""> </td>

如何使用fes名称值将文本输入的边框设置为
none

<tr class="fes-single-variation">
    <td class="fes-name-row">
        <input type="text" class="fes-name-value" name="option[0][description]" id="options[0][description]" rows="3" value="">
    </td>
    <td class="fes-price-row">
        <input type="text" class="fes-price-value" name="option[0][price]" id="options[0][price]" value="0">
    </td>
    <td class="fes-delete-row">
        <a href="#" class="edd-fes-delete">
            ×
        </a>
    </td>
</tr>

您可以使用如下css选择器:

.fes-name-value {
    border: 0;
}
或者如果有其他元素具有相同的类 但如果只想更改文本框,请执行以下操作:

input[type="text"][class="fes-name-value"] {
    border: 0;
}

你试过这个简单的方法吗
.fes名称值{border:none;}
是,但不起作用。@John尝试设置!重要提示:我添加了页面的css文件。此css文件来自chrome developer。谢谢。第二种选择有效!
input[type="text"][class="fes-name-value"] {
    border: 0;
}