w1coding.comAll tutorials

W3.CSS Animations

W3.CSS lessons
  1. Environment Setup
  2. Introduction
  3. Container
  4. Colors
  5. Buttons
  6. Buttons1
  7. Grids
  8. Images
  9. Cards
  10. Tables
  11. Forms
  12. Navigation
  13. Sliders
  14. Modals
  15. Dropdown
  16. Cards
  17. Alerts
  18. Accordions
  19. Ardions
  20. Tooltips
  21. Pagination
  22. Navigation
  23. Slideshow
  24. Tabs
  25. Model
  26. Animations
  27. Responsive

W3.CSS Animations

W3.CSS includes pre-defined animations like fading, zooming, and rotating. Use the w3-animate classes for simple animation effects.

Basic Animation

<div class="w3-container">
  <div class="w3-animate-fading w3-light-grey w3-padding" style="width:200px;">
    Fading Animation
  </div>
</div>
    

Zoom Animation

<div class="w3-container">
  <div class="w3-animate-zoom w3-blue w3-padding" style="width:200px;">
    Zoom Animation
  </div>
</div>
    

Rotate Animation

<div class="w3-container">
  <div class="w3-animate-rotation w3-green w3-padding" style="width:200px;">
    Rotate Animation
  </div>
</div>