puikinsh / ElaAdmin

A clean & completely free Bootstrap 4 admin dashboard template
https://colorlib.com/polygon/elaadmin/index.html
502 stars 341 forks source link

Tag <a> styles isn't working with "btn" classes #24

Closed ronanflavio closed 6 years ago

ronanflavio commented 6 years ago

If I try using <button> tag, as showing in docs, the buttons style is ok:

<button type="button" class="btn btn-primary">Primary</button>

But if I try using <a> tag, the style is not applied to the button:

<a href="#" class="btn btn-primary">Primary</a>
puikinsh commented 6 years ago

I don't see any problem with this button snippet. it works perfectly fine with this template.

ronanflavio commented 6 years ago

Please, visit this page: https://colorlib.com/polygon/elaadmin/ui-button.html Inspect any button and change de the tag <button> to <a> and see what happens.

puikinsh commented 6 years ago
screenshot 2018-05-24 16 36 32
ronanflavio commented 6 years ago

Hmm. I see... It's only with the btn-default. The outer collor and border disappear. Take a look: captura de tela de 2018-05-24 10-41-50

puikinsh commented 6 years ago

It is just styled like that to begin with. See default button styling with

ronanflavio commented 6 years ago

Thanks bro. I made my own btn-default style to be applied at the <a> tag.