Using the following code, I want to create a gradient background on my site using the following code. However, when inputting this into CSS it has no effect.
section, section .content-wrapper, section .section-background {
background: transparent !important;
}
#siteWrapper {
background: linear-gradient(to bottom, #4B86B9, #B2B1BF, #F16351);
background-size: 600% 100%;
animation: gradient 16s linear infinite;
animation-direction: alternate;
}
@keyframes gradient {
0% {
background-position: 0%;
}
100% {
background-position: 100%;
}
}
Any advice at all would be greatly appreciated as I am new to code.
Thanks