Pin icon on lower right corner using Materialize

3

First time I'm using materialize .

I would like to know how to set an icon in the lower right corner.

<a class="btn-floating btn-large cyan pulse right"><i class="material-icons">edit</i></a>

Natively if there is one.

    
asked by anonymous 15.09.2018 / 01:35

1 answer

2

I did not find a native class to do this in the documentation, but you can make an adjustment using a top of 100% minus the height of the btn itself.

See the example below:

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
.btn-bottom {
    top: calc(100% - 56px);
}
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" />
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>

<a class="btn-floating btn-large cyan pulse right btn-bottom"><i class="material-icons">edit</i></a>
    
15.09.2018 / 02:00