RSS Feed/News Declaring icons via CSS oddities

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
25,915
Points
823

Reputation:

I haven't been able to isolate exactly WHY this happens, but I've got a rather unique issue with icons.

Given the following less:
Less:

Code:
.testicon {
    &:before {
        .m-faContent(@xf-var-life-ring);
    }
}

I can add that class to a nav item, and it'll attempt to render the icon, except the value of mask/-webkit-mask ends up being r-life-ring no-repeat center.

All the other appropriate CSS is there, it's just getting weird on the mask URL value.

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