RSS Feed/News Change button style for light and dark styles

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
27,051
Points
823

Reputation:

I want to add a button styled in CSS to a link so that the colors are different depending on whether the style is light or dark. This is the code I want to use, though the colors will change for dark over light. So potentially the same code, just different colors. How can I implement this in the extra.less file? Any help greatly appreciated.

Code:

Code:
.myButton {
    background-color:#44c767;
    border-radius:10px;
    border:1px solid #18ab29;
    display:inline-block;
    cursor:pointer...

Read more

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