1
Guys wanted to know how I could make my button not turn purple because of the hyperlink.
I wanted to leave in this appearance the button more or less.
Code:
<button class="button">
@Html.ActionLink("Nova Visita", "Form")
</button>
CSS:
.button {
background-color: #294a73;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
Remove the
background-color: #294a73;
and thatpadding
I believe there’s a lot going on...– Rodrigo Tognin
Cara I edited my reply and put some comments in the code for you to better understand, qq doubt there comments that I try to help you.
– hugocsl