<CloseButton className="crossBtn"/>
.crossBtn{
height:37px;
width:32px;
}
How can I change the width and height of the close button ? If I write like this it is not changing.
<CloseButton className="crossBtn"/>
.crossBtn{
height:37px;
width:32px;
}
How can I change the width and height of the close button ? If I write like this it is not changing.
2
Answers
Do you use external css file ? If so, your external is probably called before bootstrap style so its overwriten.
You can try this :
Then import your custom button instead of Bootstrap one.
CloseButton Component internally uses background images.
so solution is :