dimanche 25 octobre 2015

I can't set and image for background using css

I have a laravel 5 project where i want to set and custom image as background, but i simply can't. I can set the background to a color - that works fine, but not when i'm using an image...

Here is my code:

<!DOCTYPE html>
<html>
<head>
<title>title</title>

<link href="http://ift.tt/1R6X9hF" rel="stylesheet" type="text/css">

<style>
    body{
        background: url("/resources/assets/images/anders.png") no-repeat;
    }
</style>

</head>
<body>
    @yield('content')
</body>
</html>



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1GqVOlo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire