Ruby on Rails
Sunday, December 22, 2019
How do I refer to images in stylesheets with rails 6/webpacker I always get can't resolve image.png from code like this:
.search_button
.search_button
{
background:url(search.png);
}
.search_button
{
background:url(search.png);
}
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9778b742-9f96-4d44-aef5-247453147a8c%40googlegroups.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment