3D Letter Animation with Customization


3D Letter Animation with Customization
3D Letter Animation with Customization

HTML and CSS Code:

<div class="text-3d">Your Text Here</div>

<style>
.text-3d {
    font-size: 100px; /* Change as needed */
    color: #3498db; /* Change as needed */
    position: relative;
    animation: rotate 4s infinite linear;
}
@keyframes rotate {
    0% {
        transform: perspective(500px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: perspective(500px) rotateX(15deg) rotateY(15deg);
    }
    100% {
        transform: perspective(500px) rotateX(0deg) rotateY(0deg);
    }
}
</style>
        

No comments

Powered by Blogger.
.