Answers for "background linear-gradient doesn't work"

CSS
0

CSS background gradient doesn't repeat

/*Apply the following:*/
html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
Posted by: Guest on June-02-2021
1

scss linear gradient not working

background: -webkit-gradient(linear, left top, right top, color-stop(0%, transparent), color-stop(50%,#fff), color-stop(100%,transparent)); /* Chrome, Safari4+ */
background: -webkit-linear-gradient(left, transparent 0%,#fff 50%,transparent 100%); /* Chrome10+, Safari5.1+ */
background: -moz-linear-gradient(left, transparent 0%,#fff 50%,transparent 100%);    /* FF3.6+ */
background: linear-gradient(to left, transparent 0%,#fff 50%,transparent 100%);      /* W3C */
Posted by: Guest on February-17-2021

Code answers related to "background linear-gradient doesn't work"

Browse Popular Code Answers by Language