Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    How to make FIFA Loading Animation | Soccer using HTML and CSS

    17 June 2026

    How to create Air Hockey Game using HTML CSS and JS

    14 June 2026

    How to create 3D Liquid Toggle using HTML CSS and JS

    11 June 2026
    Facebook X (Twitter) Instagram YouTube Telegram Threads
    Coding StellaCoding Stella
    • Home
    • Blog
    • HTML & CSS
      • Login Form
    • JavaScript
    • Hire us!
    Coding StellaCoding Stella
    Home » How to make FIFA Loading Animation | Soccer using HTML and CSS
    HTML & CSS

    How to make FIFA Loading Animation | Soccer using HTML and CSS

    Coding StellaBy Coding Stella17 June 2026Updated:17 June 2026No Comments3 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Email WhatsApp Copy Link

    Let’s create a FIFA Loading Animation using HTML and CSS. In this project, we build a fun football-themed loading animation where a rotating ⚽ soccer ball bounces above the letter “I” in the FIFA logo, creating an engaging loading effect.

    We’ll use:

    HTML to create the FIFA text structure, position the soccer ball, and organize the elements needed for the animation.

    CSS to style the text, add a modern background, animate the letter with a bounce effect, make the soccer ball rotate and jump smoothly, and create a clean football-inspired loading screen.

    This project is perfect for beginners who want to learn CSS animations, keyframes, transforms, positioning, and creative loading effects using only HTML and CSS. Let’s build an awesome FIFA Loading Animation! ⚽🚀

    HTML :

    The HTML creates the structure of the page. It displays the word “FIFA”, where the letter “I” and the ⚽ soccer ball are placed inside a special wrapper so they can be animated separately.

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="UTF-8">
      <title>soccer boucing animation</title>
      <link rel="stylesheet" href="https://public.codepenassets.com/css/normalize-5.0.0.min.css">
      <link rel="stylesheet" href="./style.css">
      <script src="https://public.codepenassets.com/js/prefixfree-1.0.7.min.js"></script>
    
    </head>
    
    <body>
      <div class="title">
        <span>F</span>
        <span class="soccer-wrapper">
          <span class="letter">I</span>
          <span class="soccer">⚽</span>
        </span>
        <span>FA</span>
      </div>
    
    </body>
    </html>

    CSS :

    The CSS styles the page by importing fonts, centering the content, and adding a patterned background. It also creates animations that make the “I” letter bounce and stretch, while the ⚽ soccer ball continuously rotates and bounces above it, giving the FIFA text a fun football-themed effect.

    @import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap");
    @import url("https://fonts.googleapis.com/css2?family=Noto+Emoji:wght@300..700&display=swap");
    
    * {
      box-sizing: border-box;
    }
    
    body {
      min-height: 100vh;
      color: #222;
      font-family: "Libre Franklin", sans-serif;
      background-color: #ececec;
      background-image: repeating-linear-gradient(45deg, #fffa 0 1px, transparent 1px 30px), repeating-linear-gradient(-45deg, #fffa 0 1px, transparent 1px 30px);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .title {
      display: flex;
      align-items: flex-end;
      gap: 8px;
      font-size: 100px;
      font-weight: 900;
      line-height: 1cap;
    }
    
    .soccer-wrapper {
      position: relative;
    }
    
    @keyframes letter-bounce {
      0% {
        transform: scaleX(1.2) scaleY(0.75);
      }
    
      45% {
        transform: scaleX(1) scaleY(1);
      }
    }
    
    .letter {
      display: inline-block;
      will-change: transform;
      animation: letter-bounce 0.35s ease both infinite alternate;
      transform-origin: bottom center;
    }
    
    @keyframes bounce {
      from {
        translate: -50% 100%;
      }
    
      to {
        translate: -50% 0;
      }
    }
    
    @keyframes rotate {
      from {
        rotate: 0deg;
      }
    
      to {
        rotate: 360deg;
      }
    }
    
    .soccer {
      position: absolute;
      bottom: 100%;
      left: 50%;
      translate: -50% 0;
      --size: 50px;
      width: var(--size);
      height: var(--size);
      font-size: calc(var(--size) * 0.8);
      margin-bottom: 25px;
      will-change: transform;
      animation: rotate 4s both linear infinite, bounce 0.35s ease-out both infinite alternate;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: "Noto Emoji", sans-serif;
    }

    In this project, we created a FIFA-inspired loading animation using only HTML and CSS. We learned how to use CSS keyframes, transforms, positioning, and animations to make the soccer ball bounce and rotate while adding movement to the FIFA text. This fun project is a great way to practice creative CSS animations and build engaging UI effects without using JavaScript. ⚽🚀

    If your project has problems, don’t worry. Just click to download the source code and face your coding challenges with excitement. Have fun coding!

    Animation loader loading preloader
    Share. Copy Link Twitter Facebook LinkedIn Email WhatsApp
    Previous ArticleHow to create Air Hockey Game using HTML CSS and JS
    Coding Stella
    • Website

    Related Posts

    JavaScript

    How to create Air Hockey Game using HTML CSS and JS

    14 June 2026
    JavaScript

    How to create 3D Liquid Toggle using HTML CSS and JS

    11 June 2026
    JavaScript

    How to create Apple Liquid Navigation Bar using HTML CSS and JS

    7 June 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Trending Post

    Master Frontend in 100 Days Ebook

    2 March 202432K Views

    How to make Modern Login Form using HTML & CSS | Glassmorphism

    11 January 202431K Views

    How to make I love you Animation in HTML CSS & JavaScript

    14 February 202424K Views

    How to make Valentine’s Day Card using HTML & CSS

    13 February 202415K Views
    Follow Us
    • Instagram
    • Facebook
    • YouTube
    • Twitter
    ads
    Featured Post

    Attributes in HTML: List, Tag Attributes, Elements, and More!

    30 January 2024

    Top 10 Most Popular Programming Languages of All Time

    25 January 2024

    How to make Responsive Footer using HTML & CSS

    11 January 2024

    How to create 8 Bit Tennis Game using HTML CSS and JS

    17 May 2026
    Latest Post

    How to make FIFA Loading Animation | Soccer using HTML and CSS

    17 June 2026

    How to create Air Hockey Game using HTML CSS and JS

    14 June 2026

    How to create 3D Liquid Toggle using HTML CSS and JS

    11 June 2026

    How to create Apple Liquid Navigation Bar using HTML CSS and JS

    7 June 2026
    Facebook X (Twitter) Instagram YouTube
    • About Us
    • Privacy Policy
    • Return and Refund Policy
    • Terms and Conditions
    • Contact Us
    • Buy me a coffee
    © 2026 Coding Stella. Made with 💙 by @coding.stella

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Looks like you're using an ad blocker. We rely on advertising to help fund our site.
    Okay! I understood