CSS Flip Cartas - Efecto Horizontal. - Educa Sistemas

Breaking

Post Top Ad

Post Top Ad

martes, 13 de marzo de 2018

CSS Flip Cartas - Efecto Horizontal.

 CSS Flip Card - Efecto Horizontal. 



 Buenas compañeros, les compartimos este  CSS Flip Card - Efecto Horizontal.
Espero y les sirva, lo peuden descargar y utilizar en sus proyectos.



DESCARGA EL CODIGO AQUI :

AQUI


CODIGO HTML
 <!-- horizontal -->

<div class="flip">
    <div class="front" style="background-image: url(https://i1.wp.com/www.joserojas.org/wp-content/uploads/2017/01/Java-Ubuntu.png?fit=651%2C330?w=1260&h=750&dpr=2&auto=compress&cs=tinysrgb)">
       <h1 class="text-shadow">JAVA</hi>
    </div>
    <div class="back">
       <h2>Java</h2>
       <p>Lenguaje java,Lenguaje java,Lenguaje java,Lenguaje java,</p>
    </div>
</div>
<div class="flip">
    <div class="front" style="background-image: url(https://www.technodyan.com/wp-content/uploads/2017/03/c-sharp-linux-750x410.png?w=1260&h=750&dpr=2&auto=compress&cs=tinysrgb)">
       <h1 class="text-shadow">C#</hi>
    </div>
    <div class="back">
       <h2>C#</h2>
       <p>Lenguaje c#,Lenguaje c#,Lenguaje c#,Lenguaje c#,Lenguaje c#,</p>
    </div>
</div>
<div class="flip">
    <div class="front" style="background-image: url(https://www.fullstackpython.com/img/160604-simple-python-slack-bot/header.jpg?w=1260&h=750&dpr=2&auto=compress&cs=tinysrgb)">
       <h1 class="text-shadow">PYTHON</hi>
    </div>
    <div class="back">
       <h2>PYTHON</h2>
       <p>Lenguaje Python,Lenguaje Python,Lenguaje Python,Lenguaje Python</p>
    </div>
</div>

<br>
<br>


</div>



CODIGO CSS

@import url("https://fonts.googleapis.com/css?family=Roboto+Mono");
* {
  box-sizing: border-box;
  font-weight: normal;
}

body {
  color: #555;
  background: #222;
  text-align: center;
  font-family: 'Roboto Mono';
  padding: 1em;
}

h1 {
  font-size: 2.2em;
}

.flip {
  position: relative;
}
.flip > .front,
.flip > .back {
  display: block;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: .5s;
  transition-property: transform, opacity;
}
.flip > .front {
  transform: rotateY(0deg);
}
.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
}
.flip:hover > .front {
  transform: rotateY(180deg);
}
.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
}
.flip.flip-vertical > .back {
  transform: rotateX(-180deg);
}
.flip.flip-vertical:hover > .front {
  transform: rotateX(180deg);
}
.flip.flip-vertical:hover > .back {
  transform: rotateX(0deg);
}

.flip {
  position: relative;
  display: inline-block;
  margin-right: 2px;
  margin-bottom: 1em;
  width: 400px;
}
.flip > .front,
.flip > .back {
  display: block;
  color: white;
  width: inherit;
  background-size: cover !important;
  background-position: center !important;
  height: 220px;
  padding: 1em 2em;
  background: #313131;
  border-radius: 10px;
}
.flip > .front p,
.flip > .back p {
  font-size: 0.9125rem;
  line-height: 160%;
  color: #999;
}

.text-shadow {
  text-shadow: 1px 1px rgba(0, 0, 0, 0.04), 2px 2px rgba(0, 0, 0, 0.04), 3px 3px rgba(0, 0, 0, 0.04), 4px 4px rgba(0, 0, 0, 0.04), 0.125rem 0.125rem rgba(0, 0, 0, 0.04), 6px 6px rgba(0, 0, 0, 0.04), 7px 7px rgba(0, 0, 0, 0.04), 8px 8px rgba(0, 0, 0, 0.04), 9px 9px rgba(0, 0, 0, 0.04), 0.3125rem 0.3125rem rgba(0, 0, 0, 0.04), 11px 11px rgba(0, 0, 0, 0.04), 12px 12px rgba(0, 0, 0, 0.04), 13px 13px rgba(0, 0, 0, 0.04), 14px 14px rgba(0, 0, 0, 0.04), 0.625rem 0.625rem rgba(0, 0, 0, 0.04), 16px 16px rgba(0, 0, 0, 0.04), 17px 17px rgba(0, 0, 0, 0.04), 18px 18px rgba(0, 0, 0, 0.04), 19px 19px rgba(0, 0, 0, 0.04), 1.25rem 1.25rem rgba(0, 0, 0, 0.04);
}

 

 
Mas imagenes 



Post Top Ad

Responsive Ads Here