Ruby on Rails
Friday, January 8, 2016
*posted too soon*
On Friday, January 8, 2016 at 9:02:58 AM UTC-6, John Ivanoff wrote:
-- If zoom1028.jpg is in the images folder then you need
url("/images/zoom1028.jpg");
the leading slash mean root of the site
or even for absolute URL
url("https://c1.staticflickr.com/3/2807/12125940804_ebdbda0bc9_b.jpg");
On Friday, January 8, 2016 at 9:02:58 AM UTC-6, John Ivanoff wrote:
according to your code sample the image would have to be in the same directory of the page.- home dir|- index.html|-zoom1028.jpg
On Thursday, January 7, 2016 at 10:15:15 PM UTC-6, Ruby-Forum.com User wrote:I tried changing the image tag, no luck with that. I reviewed other post
here and tried those solutions none work. I also use amazon cloudfront.
<div id="signup" class="container-fluid">
</div>
signup{
text-align: center;
background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)),
url("zoom1028.jpg");
}
--
Posted via http://www.ruby-forum.com/.
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/15861013-baa3-4c86-84c2-23fd6447c15c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment