Html.TextAreaFor()删除默认样式

时间:2019-07-06 04:56:13

标签: html css razor

我正在使用一些HTML帮助器来注册表格,但是其中一些具有CSS中未包含的轮廓。

我尝试删除可能与我相关的参数。

@Html.TextAreaFor(x => x.correo, new { @type = "email", @placeholder = "Correo", @class = "input_helper" })
.form_box .input_helper {
    font-family: sans-serif;
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #3498db;
    padding: 14px 10px;
    width: 200px;
    height: 15px;
    outline: none;
    border-radius: 24px;
    transition: 0.25s;
    color: white;
}

这是它的外观

Page Preview

1 个答案:

答案 0 :(得分:0)

删除了调整大小的手柄。 (enter image description here

row = []   # Create row outside of `for` loop
for x in range(row_number):    
    for y in range(column_number):
        cell_letter = input("Please enter either a letter or a block(*)")
        row.append(cell_letter)  # In both the cases you are simplly appending cell_letter
        print("Next row!")

print(row)