I recently developed a Nativescript app using Angular, incorporating customized buttons. However, I have encountered an issue where I am unable to achieve perfectly squared buttons with the desired appearance.
Here is my CSS code:
Button {
font-size: 13;
color: #fff;
padding: 20;
text-transform: uppercase;
background-color: #3c3d37;
font-family: 'Oswald';
letter-spacing: .2;
border-radius: 0;
}
Button:highlighted {
background-color: #494a43;
}
https://i.sstatic.net/iQPQx.png
The image linked above shows a small border radius on the buttons. Despite setting border-radius: 10;
, only slightly rounded corners are achieved. It appears that there may be a minimum border radius enforced by default.
Could it be possible that some other default style, such as a shadow effect, is inadvertently causing this small border radius?