Skip to Content
0
Apr 16, 2017 at 10:24 AM

background color does not appear in my button using addStyleCSS

62 Views Last edit Apr 16, 2017 at 10:39 AM 2 rev

Hi All,

I am trying to add a background color to my button. I have done the following code.

in my index.html file -

in my view, i have added this code -

Now, my button has italic font, but the background color does not appear in my button. I tried changing few colours, but it is not helping.

Kindly help.

Thanks,

Meenakshi

Attachments

button.png (7.5 kB)
index.png (5.0 kB)
mybutton.png (1.5 kB)