Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 13 Lesson 4 won't let me pass

I see that the code is working properly, but I am out of options. Here is my code:
.translate-me
{
transform-origin: 0 0;
transform: perspective(200px) translate3d(0, 0, 75px)
}
by

1 Answer

iamabhishek
Try this:

<!DOCTYPE html>
<html>
<head>
<title>CSS transform property</title>
<style>
div{
width: 150px;
height: 80px;
background-color: #4535aa;
color: white;
}
.translate-me
{
transform-origin: 0 0;
transform: perspective(200px) translate3d(0, 0, 75px);
}

</style>
</head>
<body>
<div class="translate-me">Transform me!</div>
</body>
</html>

Login / Signup to Answer the Question.