I’ve been stuck on styling the background: no matter what I write, the browser discards the first declaration in “article” (the one with the two images and the gradient) and selects the fallback. I’m using the latest release of Firefox, so I don’t think the browser is the issue in this case.
Secondly, the browser does not apply the shadow in the logo, and I don’t know what the problem is.
Here is my code, and I would be glad to have some kind of feedbacks.
/* Your CSS below here */
article {
background: url(top-image.png),
url(bottom-image.png),
linear-gradient(rgba(0,0,0,0.35) 20%,rgba(0,0,0,0) 80%,rgba(0,0,0,0.35));
background-repeat: no-repeat, no-repeat, no-repeat;
background-position: top, bottom, top;
background: url(top-image.png) no-repeat top;
background-color: white;
border-top: 1mm solid red;
border-bottom: 1mm solid red;
}
h1 {
background-image: url(logo.png);
/* filter: drop-shadow(2px, 2px, 4px, black);*/
filter: drop-shadow(5px, 5px, 5px, black);
}