Reputation: 187
I don't see it, I simply changed my prvious CSS from
border-bottom
to borderBottom
when I started using React.
const style = {
borderBottom: '3px solid black'
}
return (
// ... snip
<li style={style} onClick={this.clickHandler2.bind(this)} id="nav_fave">
// ... snip
)
Upvotes: 0
Views: 110
Reputation: 3443
Looks like you have a typo mistake (instead of borderBottom
it's boderBottom
in your case.)
This code works for me
const style = {
borderBottom: '3px solid black',
borderTop: '3px solid red'
};
return (
// ... snip
<li style={style} onClick={this.clickHandler2.bind(this)} id="nav_fave">
// ... snip
)
Upvotes: 1