Reputation: 103
i'm trying to change background color, etc. of a button (also making it centered on screen). I see this html code, and wasn't sure where I can make that change in CSS...
<%= submit_tag("Submit", class: "btn btn-sm btn-primary") %>
<% end %>
Also, I am trying to put a bit of space between the question (i.e. "Anything else you'd like to tell us?") and the entry form, and was wondering where I can make that change.
Anything else you'd like to tell us? <br>
<%= text_area_tag(:user_free_text,"", size:"60x6", class: "signup-entry")%>
<%=hidden_field_tag "source", "lender interest page"%>
New to CSS/html, so really appreciate your help!
best
Upvotes: 1
Views: 69
Reputation: 17954
You did not ask a clear question, but I am trying to answer it as much as I can.
CSS:
.btn{
background-color: #ABABAB;
}
textarea{
margin-top: 20px;
}
Upvotes: 1