# Background-image

**URL:** <https://forum.freecodecamp.org/t/background-image/417952>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [August 29, 2020, 8:47pm UTC](https://forum.freecodecamp.org/t/background-image/417952 "2020-08-29T20:47:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![madelans](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/madelans/32/167952_2.png) [@madelans](https://forum.freecodecamp.org/u/madelans)\
**Post date:** [August 29, 2020, 8:47pm UTC](https://forum.freecodecamp.org/t/background-image/417952/1 "2020-08-29T20:47:40Z")

</div>

In this part

```auto
background-image: linear-gradient(
      115deg,
      rgba(58, 58, 158, 0.8),
      rgba(136, 136, 206, 0.7)
    ),
    url(https://cdn.freecodecamp.org/testable-projects-fcc/images/survey-form-background.jpeg);

```

when i put the seccion “ **linear-gradient** ” I can´t see anything in my own page! please can you help me?

I put that in the part --body::before:  
**Your code so far**

**Your browser information:**

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0`.

**Challenge:** Build a Survey Form

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/build-a-survey-form-project/build-a-survey-form)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![Naomi](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/naomi/32/422181_2.png) [@Naomi](https://forum.freecodecamp.org/u/Naomi)\
**Post date:** [August 29, 2020, 9:20pm UTC](https://forum.freecodecamp.org/t/background-image/417952/2 "2020-08-29T21:20:42Z")

</div>

Hello and welcome to the freeCodeCamp community~!

Can you provide a link to your live project? Usually for these projects that would be a CodePen link.

---

<div class="post-metadata">

**Author:** ![madelans](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/madelans/32/167952_2.png) [@madelans](https://forum.freecodecamp.org/u/madelans)\
**Post date:** [August 30, 2020, 5:58pm UTC](https://forum.freecodecamp.org/t/background-image/417952/3 "2020-08-30T17:58:04Z")

</div>

I did it! [https://codepen.io/madelans/pen/jOqwRZx](https://codepen.io/madelans/pen/jOqwRZx) share you my work! thank you!

---

<div class="post-metadata">

**Author:** ![lasjorg](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lasjorg/32/280761_2.png) [@lasjorg](https://forum.freecodecamp.org/u/lasjorg)\
**Post date:** [August 30, 2020, 6:11pm UTC](https://forum.freecodecamp.org/t/background-image/417952/4 "2020-08-30T18:11:38Z")

</div>

Are you saying the CSS you posted doesn’t work for you, or are you saying when you try to do it with your own image in your code it doesn’t work?

Can you post your CSS and not the example you gave because that should work just fine.

Here it is with your image.

```auto
background-image: linear-gradient(
    115deg,
    rgba(58, 58, 158, 0.8),
    rgba(136, 136, 206, 0.7)
  ),
  url(https://cdn.pixabay.com/photo/2020/08/21/22/25/kimono-5507132_960_720.jpg);

```

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [May 31, 2021, 3:16pm UTC](https://forum.freecodecamp.org/t/background-image/417952/5 "2021-05-31T15:16:03Z")

</div>

Closed on May 31, 2021, 3:16pm UTC


