I'm attempting to create a similar X icon, resembling the one shown here:
Here is the HTML code I am using:
<div class='error-circle'>
<div>X</div>
</div>
And this is the corresponding CSS:
.error-circle{
width: 70px;
height: 70px;
background: #990000;
border-radius: 100px;
border: 4px solid white;
color: white;
font-size: 45px;
font-weight: bold;
padding-left: 17px;
}
Although it's close, I really need the same result as the image (without the background). I believe the X should not be the x character but rather two lines crossed on top of each other. How can I achieve this desired outcome?