Abrir menú principal

Cambios

882 bytes añadidos ,  17:32 8 abr 2021
sin resumen de edición
.pm-frame-body {
padding: 1em;
}
 
#flip-container{
-webkit-perspective: 1000px;
perspective: 1000px;
padding: 50px;
position: relative;
margin: 10px auto;
width: 500px;
}
.card {
position: relative;
width: 500px;
height: 50px;
transition: 0.6s;
transform-style: preserve-3d;
transform-origin: 100% 25px;
margin: 5px;
}
.card:hover, .card.flip{
transform: rotateX(180deg);
}
.front, .back{
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
text-align: center;
}
.front{
transform: rotateX(0deg);
z-index: 2;
background-color: #e93e29;
color: #FFF;
font: 1em/1.8em Arial;
display: flex;
align-items: center;
justify-content: center;
}
.back{
transform: rotateX(180deg);
background: repeating-linear-gradient(
-45deg,
#ececec,
#ececec 10px,
#dedede 10px,
#dedede 20px
);
}