我希望用白色背景填充问号图标。如您所见,在我的示例中,图标周围仍有一个小的白色边框。如何缩小背景,只填充问号?
body {
background: lightgreen;
font-size: 126px;
}
.fa-question-circle:before {
background: white;
border-radius: 100%;
}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<i class="fas fa-question-circle"></i>