Even though I know that the solution involves using border-radius: 50%
, it doesn't seem to be working for my situation.
In my code using React/JSX notation, this is how the icon is displayed:
<i style={{ borderRadius: '50%' }} className="big cc visa icon" />
Unfortunately, the style
attribute is not producing the expected image crop. Is there a way to resolve this issue?