0
Well I have here the personalities buttons with CSS. I need them to always stay in the center of the page, if I put several buttons they have to stand in a queue in the center of the page. And when the screen is small they will create a line break.
Does anyone know how to do this without having to put the buttons inside a tag?
.text-white,
.text-white-houve:hover,
.bt {
color: #FFFFFF !important;
}
.shadow-1,
.bt,
.container {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.shadow-2,
.bt:hover,
.context_menu_pai,
.box_login,
.datepicker.dropdown-menu,
.dialogbox,
.overflow-menu ul {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.transition-1,
.bt {
transition: all .3s ease-out;
transition-property: all;
transition-duration: 0.3s;
transition-timing-function: ease-out;
}
.bt {
border: 0;
padding: 10px;
width: 200px;
height: 50px;
display: inline-block;
margin: 10px;
cursor: pointer;
border-radius: 4px;
}
<button class='bt' type='submit'>OK</button>
<button class='bt' type='submit'>OK</button>
<button class='bt' type='submit'>OK</button>
<button class='bt' type='submit'>OK</button>
The buttons are inside an element other than the
<body>
?– rdleal
@Panther are just in the body
– Hugo Borges