I am writing a custom css styling in mypagestyle.styl with the following
:local .mybutton
border-radius: 1px
padding: 2px 2px 2px 2px
margin: 2px 2px 2px 2px
font-size: 14px
text-align: center
background-color: #4582ec
color: #fff
every styling except the color and background-color is taking effect.
Just the color and background-color is not working.
in the jsx code I have the following
<Button className={mypagestyle.mybutton}>{"Test"}</Button>
When I right clicked with the mouse to inspect the element, I see the following
.btn.btn-default and I can play around with the color in the Styles tab. This is the bootstrap styling but I did not specify the bootstrap style at all ie "btn btn-primary" etc..
What am I (newbie) doing wrong?
Thanks