---
title: "Discussion on \"CSS makes the world go round 🌎\" | Hashnode"
description: "Discussion on \"CSS makes the world go round 🌎\". On Thursday I came across this really great tweet by Antonia\nhttps://twitter.com/NanouuSymeon/status/1301474015760887813?ref_src=twsrc%5Etfw\nAnd I was inspired by it, so I wanted to have a look at this!\n(Yes, I'm addicted to smileys!)\nSo today we'll ..."
url: "https://hashnode.com/posts/css-makes-the-world-go-round/5f547dd5d6e3120a42378228"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CSS makes the world go round 🌎](https://h.daily-dev-tips.com/css-makes-the-world-go-round?utm_source=hashnode&utm_medium=feed)

On Thursday I came across this really great tweet by Antonia https://twitter.com/NanouuSymeon/status/1301474015760887813?ref\_src=twsrc%5Etfw And I was inspired by it, so I wanted to have a look at this! (Yes, I'm addicted to smileys!) So today we'll ...

Sep 6, 2020 · 2 min read · h.daily-dev-tips.com  
Updated Sep 8, 2020  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#animation](https://hashnode.com/tag/animation)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#programming](https://hashnode.com/tag/programming)
-   [#css-animation](https://hashnode.com/tag/css-animation)

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

  
[View profile](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses 1

Markdown supported · ⌘↵ to post

[Spencer Flagg](https://hashnode.com/@Flagg)

[Sep 8, 2020](https://hashnode.com/posts/css-makes-the-world-go-round/5f547dd5d6e3120a42378228/comment/5f577e77a5765727f4c322a5)

You can make the animation sliiiightly smoother, by adding "in between" frames by creating a crossfade layer that displays in bewteen the current frames.

Say, add a ::before pseudo element to .world, layer it directly on top of the ::after, and give it the following keyframes:

```
@keyframes world-tween{
    16.5% {
        content: '🌍';
        opacity: .5;
    } 
    33% {
        opacity: 0;
    }
    50% {
        content: '🌏';
        opacity: .5;
    }
    66% {
        opacity: 0;
    }
    83% {
        content: '🌎';
        opacity: .5;
    }
}
```

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 8, 2020](https://hashnode.com/posts/css-makes-the-world-go-round/5f547dd5d6e3120a42378228/comment/5f577e77a5765727f4c322a5#reply-5f577ff1a5765727f4c322c3)

Wow Spencer, golden tip buddy!

That looks way better, going to update the code man!
