Загрузка...

How To Make Disk Animation With HTML CSS TAILWIND In 5 Minutes | ANIMATIONS

#animation #cssanimation #css3 #shorts #html #html5
SUBSCRIBE: /@knowlogic110

Watch More Website Clone Tutorials: 👉 [ /@knowlogic110 ]
Building a 360° Rotating Design with HTML, CSS, and Tailwind CSS (Including Keyframes)

In this video, I’ll guide you through creating an eye-catching design using HTML, CSS, and Tailwind CSS, with a special focus on adding a 360° rotation effect using CSS keyframes. I’ll walk you through setting up the design, applying utility-first Tailwind classes, and then adding animations that allow your element to rotate smoothly while maintaining its full shape. This tutorial is perfect for anyone looking to enhance their web development skills, and I’ll also provide the code in the description so you can follow along and implement it easily in your own projects. Let’s dive in and build something amazing together!

Here’s the code without angle brackets:

html
head

style
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
/style
/head
body class="bg-gray-900 flex items-center justify-center min-h-screen"
div class="flex items-center justify-center transform rotate-20 skew-x-[-5deg] skew-y-[-20deg]"
div class="w-36 h-36 bg-pink-300 border-4 border-black rounded-full flex items-center justify-center animate-spin" style="background: conic-gradient(#ffffff, #f5e1f6, #ffefd1, #fefec5, #c8c8c8, #8a8a8a, #605859, #704864, #3b49ac, #31c8de, #6cd399, #d0d0d0, #fcfcfc, #ffffff, #ffffff, #eafae9, #a3ffef, #98bcea, #9997a4, #868686, #767676, #f0ed5b, #e2a3a7, #d4d4d4, #ffffff, #ffffff);"
div class="w-12 h-12 bg-white border-4 border-black rounded-full" /div
/div
/div
/body
/html

Видео How To Make Disk Animation With HTML CSS TAILWIND In 5 Minutes | ANIMATIONS канала KnowLogic
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять