.myButton {
float: right;
border-top: 40px solid pink;
border-left: 40px solid transparent;
border-right: 0px solid transparent;
width: 25%;
}
<div class="myButton">
Submit
</div>
This snippet is the code I have written to create a button with a unique shape, similar to the image below. However, I am facing an issue where the text "Submit" is not centered as intended and appears lower than expected. Can anyone provide a solution to this problem?