"splash screen - ionic "
Bootstrap 4.1.1 Snippet by kanikamadaan

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <ion-content class="splash"> <div class="splash-div"> <img src="assets/img/green-logo.png"> </div> </ion-content>
.splash-div { height: 100vh; min-height: 100vh; display: flex; align-items: center; justify-content: center; vertical-align: middle; --ion-background-color: #ffffff; } .splash-div img { width: 60%; }

Related: See More


Questions / Comments: