I'm pretty new in CSS but I couldn't find similar question on stackoverflow. I try to model a radio button like on a drawing below:
I've made it as follow:
.root {
display: flex;
}
.checkbox {
width: 1.2rem;
height: 1.2rem;
border-radius: 50%;
border-color: blue;
border-width: 0.2;
border-style: solid;
display: flex;
justify-content: center;
align-items: center;
}
.mark {
width: 1.1rem;
height: 1.1rem;
background-color: blue;
border-radius: 50%;
}
<body>
<div class="root">
<div class="checkbox">
<div class="mark"></div>
</div>
<div class="checkbox">
<div class="mark"></div>
</div>
<div class="checkbox">
<div class="mark"></div>
</div>
<div class="checkbox">
<div class="mark"></div>
</div>
<div class="checkbox">
<div class="mark"></div>
</div>
</div>
</body>
I'm using MacBook Pro, with Chrome and Safari.
On Chrome it looks like this:
On Safari it looks a little bit better, but the problem still occurs (look at the bottom of each icon).
Can anyone help me to explain what am I doing wrong?


