RSS Feed/News How can I position this shadow element behind this node?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
31,483
Points
823

Reputation:

Hi,

I've been on Xenforo since 2022, and I've used this code:

CSS:

Code:
.template-forum_list .block-container .node::before {

/* Position the pseudo shadow element. */
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;

/* Create the box shadow at expanded size. */
    box-shadow: 0 0 8px @xf-paletteColor1, inset 0 0 10px @xf-contentAltBg;
    border-radius: 5px;
    background: @xf-contentAltBg;

to make this happen...

Read more

Continue reading...
 
Status
Not open for further replies.
Top