1
I was making a layout in fig, and I’m passing it to html and css, but I wanted to make an animation. As you can see I have a pink triangle, and I wanted to pass the mouse over it, it zoom in and "catch" the blue part (written when you have it), and the whole screen would be pink overlapping the blue color.
body{
background-color:#3ED3F3;
}
.triangulo {
width: 0;
height: 0;
border-top: 300px solid transparent;
border-bottom: 300px solid transparent;
border-left: 600px solid #F33E8A;
position: absolute;
left: 0px;
top:0px;
}
.triangulo:hover{
}
<body>
<div class="container">
<div class="triangulo"> </div>
</div>
</body>
Lucas welcome to [en.so]. Do not use greetings or greetings in questions, see what kind of behavior is expected from users?
– gleisin-dev