All threads / How do use image-url in scss
Ask A Question


You’re not receiving notifications from this thread.

How do use image-url in scss

Zen Garden DXB asked in CSS

I’ve watched your lesson on setting up bootstrap in Rails 6. I have a small issue though with trying to add a background image to class. I can’t seem to get image-url or assset-url to work. Probably can reference it directly but I’m sure I’m missing something here

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 69,840+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.