Linking a CSS image URL in laravel
You can even use it like this:
.mystyle{
background-image: url("/assets/img/background.png")
}
Put your image into public/assets/img
directory and use the asset()
helper:
.mystyle{
background-image: url("{{ asset('assets/img/background.png') }}")
}