-1
I want to create a slide with two buttons below. But I managed to put the two buttons at the bottom side by side, but the slide doesn’t work when I try to move to slide 2, 3.
<ion-slides id="slide">
<ion-slide style="background-color: white">
<h2>Slide 1</h2>
</ion-slide>
<ion-slide style="background-color: white">
<h2>Slide 2</h2>
</ion-slide>
<ion-slide style="background-color: white">
<h2>Slide 3</h2>
</ion-slide>
</ion-slides>
<ion-content >
<button id="Entrar">Entrar</button>
<button id="registrar">Registar</button>
</ion-content>
Code css
#Entrar {
list-style-type: none;
margin-top: 620px;
height: 50px;
width: 188px;
float: right;
font-size: 25px;
background-color: rgb(0, 89, 255);
}
#registrar{
list-style-type: none;
margin-top: 620px;
display: inline-block;
height: 50px;
width: 187px;
background-color: rgb(0, 89, 255);
font-size: 25px;
}
Your example worked. however the button is not aligning on the slide. could help me how to do this?
– W. Israel
@W.Israel Would you like the buttons to stay inside the slide?
– Vinicius.Macedo
That’s right, for example, has an image in the center, with some titles, and the buttons below it
– W. Israel
as you did to use the bootstrap with Ionic?
– i9on i9on