Background Gradient - Post ID 240915
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%;
}
.div {
background: -linear-gradient(circle at top right, darkblue, lightblue);
width: 100%;
height: 100%;
border-radius: 40%;
}
scratch that, I went with radial gradient.
* .div {
background: -radial-gradient(circle at top right, darkblue, lightblue)
width: 100%;
height: 100%;
}
* .div {
background: -radial-gradient(circle at top right, darkblue, lightblue)
width: 100%;
height: 100%;
}
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
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
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.