Search results

Customize input and anchor elements in ASP.NET Core Button control

26 Oct 2021 / 1 minute to read

You can customize the appearance of the input and anchor elements using predefined styles through the class property. In the following code snippet, the input element is customized as a link Button by setting the e-btn e-link class, and the anchor element is customized as a primary Button by setting the e-btn e-primary class.

tagHelper
Copied to clipboard
<div>
    <input type="button" id="inputbtn" value="Input Button" class="e-btn e-link">
</div>

<div>
    <a id="anchorbtn" class="e-btn e-primary" href="#">Google</a>
</div>