Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

How can I separate and center the buttons?

$
0
0

@ygorfraga wrote:

I want to leave the buttons one underneath the other and center them, but I do not know how to do that. Currently they are side-by-side and are not centralized.

Buttons:

<ion-content class="wallpaper">
    <img src="assets/img/logo.png"/>
    <button ion-button round class="button">Acessar</button>
    <button ion-button round class="button">Tutorial</button>
    <button ion-button round class="button">Sobre</button>
</ion-content>

Css:

page-home {

    .wallpaper {
        background-color: #25d298;
    }

    .button {
        background-color: #d24125;
        text-align: center;
        margin: 20;
    }

}

How can I do that?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>