From the list: Build ✔ ShiftNav Open: Gray Out Content (Not Home) Kyle S. added this on Sep 03, 2019 Completed Sep 03, 2019 by Kyle S. Assigned to Kyle S. Comments & Events Kyle Sullivan, Web Development Below is the code I used to accomplish this. The key is position: fixed.body { div#page::after { position: fixed; content: ""; background: $navbar; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; transition: 0.25s ease-in; } &.shiftnav-open { div#page::after { opacity: 0.55; z-index: 9999; } } } Sep 03, 2019 at 4:43 PM No one was notified Kyle Sullivan completed this to-do. Sep 03, 2019 at 4:43 PM Kyle Sullivan, Web Development It's entirely possible that this will lead to some complications across this site that can usually be resolved by applying z-index: 1 to a component's parent element. Sep 03, 2019 at 9:12 PM No one was notified
Kyle Sullivan, Web Development Below is the code I used to accomplish this. The key is position: fixed.body { div#page::after { position: fixed; content: ""; background: $navbar; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; transition: 0.25s ease-in; } &.shiftnav-open { div#page::after { opacity: 0.55; z-index: 9999; } } } Sep 03, 2019 at 4:43 PM No one was notified
Kyle Sullivan, Web Development It's entirely possible that this will lead to some complications across this site that can usually be resolved by applying z-index: 1 to a component's parent element. Sep 03, 2019 at 9:12 PM No one was notified
body { div#page::after { position: fixed; content: ""; background: $navbar; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; transition: 0.25s ease-in; } &.shiftnav-open { div#page::after { opacity: 0.55; z-index: 9999; } } }