[SOLVED] Set an image in div
Hi everyone
I have a problem I want put an image an a div
my css:
```css
.pic{
width: 300px;
height: 400px;
background-image: url('img/lol.jpg');
background-attachment: fixed;
background-position: center;
background-size: cover;
}
the result I have with cover
I have a problem I want put an image an a div
my css:
```css
.pic{
width: 300px;
height: 400px;
background-image: url('img/lol.jpg');
background-attachment: fixed;
background-position: center;
background-size: cover;
}
the result I have with cover

