Efecto
Efecto
Efecto
CÓDIGO
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>Efectos de Muestra</title>
</head>
<body>
<body>
<div class="container">
<div class="card">
<div class="content">
<img src="https://github.com/Jhonierpc/WebDevelopment/blob/master/CSS%20Card
%20Hover%20Effects/img/design_128.png?raw=true">
<h3>Design</h3>
</div>
</div>
<div class="content">
</div>
</div>
</div>
<div class="card">
<div class="content">
<img src="https://github.com/Jhonierpc/WebDevelopment/blob/master/CSS%20Card
%20Hover%20Effects/img/code_128.png?raw=true">
<h3>Code</h3>
</div>
</div>
<div class="content">
</div>
</div>
</div>
<div class="card">
<div class="content">
<img src="https://github.com/Jhonierpc/WebDevelopment/blob/master/CSS%20Card
%20Hover%20Effects/img/launch_128.png?raw=true">
<h3>Launch</h3>
</div>
</div>
<div class="content">
</div>
</div>
</div>
</body>
</body>
</html>
CSS
body{
margin: 0;
padding: 0;
min-height: 100vh;
background: #333;
display: flex;
justify-content: center;
align-items: center;
font-family: consolas;
.container{
width: 1000px;
position: relative;
display: flex;
justify-content: space-between;
}
.container .card{
position: relative;
cursor: pointer;
width: 300px;
height: 200px;
transition: 0.5s;
position: relative;
background: #333;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
transform: translateY(100px);
background: #ff0057;
transform: translateY(0);
transition: 0.5s;
opacity: 1;
max-width: 100px;
margin: 10px 0 0;
padding: 0;
color: #fff;
text-align: center;
font-size: 1.5em;
position: relative;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
box-sizing: border-box;
transform: translateY(0);
margin: 0;
padding: 0;
margin: 15px 0 0;
display: inline-block;
text-decoration: none;
font-weight: 900;
color: #333;
padding: 5px;
background: #333;
color: #fff;