Background Gradient - Post ID 240915

User 2924428 Photo


Registered User
1,718 posts

Hey guys, i'm having a problem getting my background radiant to show on my page. Here is my code.

.div {
background: -linear-gradient(circle at top right, darkblue, lightblue);
width: 100%;
height: 100%;
border-radius: 40%;
}
User 2924428 Photo


Registered User
1,718 posts

scratch that, I went with radial gradient.

* .div {
background: -radial-gradient(circle at top right, darkblue, lightblue)
width: 100%;
height: 100%;
}
User 2924428 Photo


Registered User
1,718 posts

User 122279 Photo


Senior Advisor
14,447 posts
Online Now

You find the code here: http://www.w3schools.com/css/css3_gradients.asp
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2924428 Photo


Registered User
1,718 posts

Hmm, still no effect on my page. I have to scan through RLM and see if I have bg set to anything.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.