DEV Community

Cover image for 11 amazing games to master CSS in a fun way 🎮🔥
Hadil Ben Abdallah
Hadil Ben Abdallah

Posted on

11 amazing games to master CSS in a fun way 🎮🔥

Learning CSS can be a challenge. We know that some properties can get many different values and its a bit had to memorise all of them, actually you don’t need to memorise everything but there are some fun ways to learn more easily the monster called CSS.
In this article I will highlight 11 amazing games you can play. Either you are a beginner or an expert, you will enjoy playing these games.

1. Flexbox froggy

Image description

Flexbox froggy has a super fun way to learn flexbox positions across the board. It has 24 levels, in each level, you will find a short paragraph explaining the property that you need it to solve that level.
The purpose of the game is to place the frog on the correct Lilly.

2. Flexbox defense

Image description

Another super cool CSS game to learn flex is flexbox defense. It has 12 levels, in each level you will find a short paragraph explaining the property that you need it to solve that level.
The purpose of the game is to stop the incoming enemies from getting past your defenses.

3. Flex Box adventure

Image description

Another game much like Flexbox froggy, It also has some other challenges and hints from which you might learn a lot. It has a total of 24 levels.
In this game you must help Arthur defeat the three evil brothers and return stolen gold!
Before you start the game you can choose your difficulty depending on your familiarity with flexbox.

Image description

4. Knights of the Flexbox Table

Image description

This game speed up your workflow with “Windy”, It uses tailwind classes to teach you to flex options. So if you like tailwind, you will love this game. It has a total of 18 levels.
In this game you have to help Sir Frederic Flexbox and his friends to uncover the treasures hidden in the Tailwind CSS dungeons.

5. Flexbox zombies

Image description

We finish with flexbox by Flexbox zombies. This game is super well set up in graphics! It will make you feel like you are plying one of the biggest amazing games like “valorant”, moreover the story of the game is also amazing. This is one of the best CSS game I’ve ever played.
Unlike the other game I’ve mentioned, Flexbox zombies needs more time to finish it. It has 12 chapters, with each up to 25 levels.
The purpose is to kill zombies and goos.

6. Grid garden

Image description

Grid garden is a super fun way to learn CSS Grid. You have to use grid layouts to ensure all the carrots get water.
It has 28 levels to practice a lot of CSS grid options!

7. Grid attack

Image description

This game is by the same creator as Flexbox adventure.
Here, you have to help Rey fight her way through an army of monsters and save her brother from Valcorian.
This game has 80 levels, giving you many options and time to learn CSS grid super fun.
Before you start the game you can choose your difficulty depending on your familiarity with grid.

Image description

8. Grid Critters

Image description

Your journey to master CSS Grid begins on the mysterious planet Grideros. Your mission is to use your ship's powerful Grid tool to save alien critters from extinction.
Unlike all the other games, this game is not free.
Price: At the time of this writing It has a discount to become $89 instead of $149.

9. CSS Diner

Image description

This game helps you to learn about CSS selectors and some modern ones. It’s really interesting.
It has 32 levels, in each level some elements will be animated to showcase what selector you should target.

10. Guess CSS

Image description

In this game you have to guess which selector matches the result you see.
This is an excellent concept as you always get to see the perfect result.
These are the different puzzlers in the game, You can select any one(s) you want.

Image description

11. CSS Speedrun

Image description

This game is very similar to CSS Diner, you must write specific CSS Selectors to target the highlighted elements.
However, you have to do it as quickly as possible, making this a great challenge for those who like an extra level of hardness to their games.
The game has ten levels, but you can play more often and improve your speed.

Bonus ❤

12. CSS Battle

Image description

It’s a website where you can find challenges. The are daily targets and battles.
About daily targets, each target could be played only for 24 hours and then you will be able to see other people solutions but you will not be able to send you solution.
About battles are always available but you can not see others solutions.
Before you start playing you must read very well “Tips & tricks” and “FAQs” to understand how is the best method to write a code and to be able to get to the top of the leaderboard.
The objective of the game is to write HTML/CSS to replicate the given target image in the least code possible.

13. Codepip

Image description

In this website you can find many games of HTML, CSS, JS and SQL but unfortunately most of them are not free.

14. 100 days of CSS

Image description

All you need to get started with the challenge is a CodePen account and a passion for programming.
The homepage shows every day a different challenge which you can complete. Use the provided template, be creative and recreate the example in your own way.
You can check your progress at any time and if you are dedicated, you might even make it to the leaderboard.

15. CSS challenges

Image description

It’s an amazing website where you can find CSS challenges, CSS quizzes, CSS generators and CSS tips.
There are 5 different levels from easy to insane, so you can filter the challenges depending on your level in CSS.

16. Frontend mentor

Image description

In this website you can find challenges not only by HTML and CSS but you also there are some challenges needs JavaScript code.
If you want to see only CSS challenges you can filter them:

Image description

I wish you have enjoyed reading this article and you loved these games.

Thanks for reading!

Made with đź’™ by Hadil Ben Abdallah.

CodePen LinkedIn

Top comments (0)