我想调整我用宝石茧制作的rails中链接的位置,在我的源代码中我得到了这个:
<div class="fields">
<a href="#" class="add_fields" data-association="answer" data-template=" <div class="nested-fields">
<label for="question_answers_attributes_new_answers_answer">Answer</label>
<input id="question_answers_attributes_new_answers_text" name="question[answers_attributes][new_answers][text]" size="30" type="text" />
<input id="question_answers_attributes_new_answers__destroy" name="question[answers_attributes][new_answers][_destroy]" type="hidden" /><a href="#" class="remove_fields dynamic">Remove</a>
</div>
">Add Answer</a>
</div>
有谁知道如何在 CSS 中调用“添加答案”链接?我试过:div.fields.add_fields a { css: code; }
但这似乎并没有做任何事情......
问候, 泰斯