D

Change button style for light and dark styles

  • Thread starter Thread starter Davyc
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
D

Davyc

Guest

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...
 
Similar content Most view View more
Back
Top Bottom