Vote count:
0
I am trying to apply css to a form in .erb and it doesnt seem to be working
submit.css.scss
.submit-form{
margin-left:auto;
margin-right:auto;
max-width: 500px;
background: #F7F7F7;
padding: 25px 15px 25px 10px;
font: 12px Georgia, "Times New Roman", Times, serif;
color: #888;
text-shadow: 1px 1px 1px #FFF;
border:1px solid #E4E4E4;
}
htnl file
<%= simple_form_for Post.new do |f| %> <%= f.input :title %> <%= f.input :blurb %> <%= f.input :funding_goal %> <%= f.input :funding_duration %>
<%= f.button :submit %>
<% end %>
asked 38 secs ago
CSS not getting applied to the form elements in .erb
Aucun commentaire:
Enregistrer un commentaire