Text font size inside a button

Asked

Viewed 2,095 times

1

How do I change the font size of the text inside a button? I’m using Materialize.

<a class="waves-effect waves-light grey darken-3 btn"><i class="material-icons left">featured_play_list</i>Ver Lista de Compras</a>
<a class="waves-effect waves-light grey darken-3 btn"><i class="material-icons left">update</i>Alterar Produto</a>
<a class="waves-effect waves-light grey darken-3 btn"><i class="material-icons left">add_circle</i>Cadastrar Produto</a>
<a class="waves-effect waves-light grey darken-3 btn"><i class="material-icons left">delete</i>Excluir Produto</a>

Thanks.

  • 1

    And what do you know about CSS?

  • little in vdd... hsuahsauhsauhsaushaush

1 answer

0


Creates a class in CSS.

.minhaclass{
    font-size: 18px;
}

Apply it after the classes that are already being called, so it will overwrite.

<a class="waves-effect waves-light grey darken-3 btn minhaclass"><i class="material-icons left">featured_play_list</i>Ver Lista de Compras</a>
  • 1

    Thanks a lot, man...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.