I need to center ×
in my button.
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<title>Hello, world!</title>
<style>
.modal-default-close {
margin: 0;
position: absolute;
top: 130px;
right: 48%;
width: 30px;
height: 30px;
border-radius: 23px;
background-color: #898A8F;
color: #ffffff;
font-size: 40px;
opacity: 1;
z-index: 10;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<button type="button" class="btn modal-default-close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">×</span></button>
</body>
</html>