APEX Background Color for Button

Rating: 4.50/5. From 4 votes.
Please wait...

Button Id

Advertisements

First you have to set a static id for the button. Mark the button >> properties >> Advanced >> Static Id: btnX

You can choose any value for your button.

Advertisements

Page Inline CSS

In the page properties add the following text to the inline css field.

#btnX is your static id of the button.

Advertisements

Als Amazon-Partner verdiene ich an qualifizierten Verkäufen!

red (occurs 3 times) is the color. You can also use hex values in short (#f00) or long form (#fff000).

Advertisements
#btnX span {
background-image:-webkit-linear-gradient(top, red, red);
box-shadow:0 1px 0 red inset;
text-shadow: none;
}

Working with class

If you have more than one button, you can use classes.

  • Button: Properties >> CSS Classes: myclass
  • Page Inline Css: Properties >> Inline CSS: .myclass span {… see above …}
Rating: 4.50/5. From 4 votes.
Please wait...
Advertisements
Laptop

Leave a comment

Your email address will not be published. Required fields are marked *