Archived topic
Shadow under nav bar
23 replies · Started by Rylan Urban on April 15, 2016
I think you are missing the last value in the rgba code. There should be 4 numbers.
Yeah that worked! I wasn't even aware that rgb included the "a" - since I've always go it work work without that!
Rylan
Oh wait - it didn't work lol
hmm try this selector instead: nav#sticky-navigation
Sorry I don't know how to do that, this one doesn't work:
.nav#sticky-navigation {
-webkit-box-shadow: 10px 10px 5px 0px rgba(60,67,194,1);
-moz-box-shadow: 10px 10px 5px 0px rgba(60,67,194,1);
box-shadow: 10px 10px 5px 0px rgba(60,67,194,1);
}
nav#sticky-navigation {
-webkit-box-shadow: 10px 10px 5px 0px rgba(60,67,194,1);
-moz-box-shadow: 10px 10px 5px 0px rgba(60,67,194,1);
box-shadow: 10px 10px 5px 0px rgba(60,67,194,1);
}
WORKED!
Thank You :)
You're welcome :) sorry that took more attempts than expected...
No worries - Resolved!