Ruby on Rails Friday, January 8, 2016

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/8e849255-7db4-48dc-8e1b-8d0b109e7756%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment