I've encountered an issue with the CSS for a button that I created, as it is not displaying as expected. https://i.sstatic.net/qHLZX.png
Below is my HTML code snippet:
.button{
/* center the button */
margin: 0;
position: absolute;
top: 70%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
/* provide color and style */
background-color: #008CBA; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
display: inline-block;
font-size: 16px;
cursor: pointer;
}
<div class = button>
<button type="submit" class="registerbtn">Continue</button>
</div>
Can anyone suggest a solution to rectify this problem?