44 lines
781 B
CSS
44 lines
781 B
CSS
*,
|
|
::before
|
|
::after{
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body{
|
|
background-image: url("../img/background_pokemon.jpg");
|
|
background-color: red;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.card{
|
|
width: 350px;
|
|
height: 500px;
|
|
perspective: 1000px;
|
|
|
|
}
|
|
|
|
.content-card{
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
border-radius: 25px;
|
|
transition: all 0.25s ease-out;
|
|
}
|
|
|
|
.glow{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
transition: all 0.25s ease-out;
|
|
border-radius: 25px;
|
|
mix-blend-mode: hard-light;
|
|
background: radial-gradient(circle at 50% 0%, rgba(31, 34, 37, 0.014), transparent );
|
|
} |