#100DaysofCode Chapter 5 ~ CSS Illustration
Tags: css, webdev, 100daysofcode, beginners
Published: 2020-11-11 21:29:22


![vector-like-css-illustrations.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1605097206978/ZNpbAgir2.jpeg)


> 
The descriptions above are a brief overview of the topic. Go through the **recommended resources** to get in-depth explanations of CSS Illustration.

**Introduction**

An illustration is a visual imagery that is best known for interpreting, depicting, explaining, and/or decorating the words in books, newspapers, and online media. Illustrations are the drawings you find to make websites and apps more user-friendly (think emojis).

**What is CSS Illustration?**

**CSS Illustration** is essentially designing a vector graphic but instead of using vector illustration software (i.e Illustrator, Affinity Designer, Sketch), you are using CSS code in place of your toolbar making use of some important CSS properties like pseudo-elements, box shadows, gradients, and clip-path.

Making **CSS art/illustration** is interesting and fun; It teaches you nuances of CSS that you might not normally work with, helps you see graphics (and problems in general) modularly, and improves your speed when writing CSS. The good thing is you don’t have to be an artist to do this.


> 
I have completed 50 days in the 100 Days of Code Challenge. Below is a recap of everything I accomplished during this fifth chapter.

**Projects**

The majority of my coding for this chapter was for two main projects.

**CSS Shapes**

![CSS Shapes.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1605097365287/jHZOOLFoy.png)

For this project, I created a square by adding the following properties it: background color, height, and width. For the circle, I added all the properties I added to the square and included a border-radius of 50% and finally, for the triangle, I gave zero values to both the height and width, gave the border-bottom a color, and made the border-left and border-right transparent. You can check out this project on  [CodePen](https://codepen.io/lanrewaju/pen/dyXQzBW)  and  [GitHub.](https://github.com/lanre-waju/CSS-Shapes--100DaysofCode)

**CSS Emoji**

![CSS Emoji.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1605097401252/QxBEbmykg.png)

For this project, I created a smiley-face emoji by first creating a div for the head, left eye, right eye, and mouth in HTML. Then I used CSS to give shapes of positions for each div element. As you might expect, you can also find this project on  [CodePen](https://codepen.io/lanrewaju/pen/ZEOmXEE)  and  [GitHub.](https://github.com/lanre-waju/CSS-Emoji--100DaysofCode) 

**Recommended Resources**

-  [Michael Mangialardi — A Beginner’s Guide to Pure CSS Images](https://medium.com/coding-artist/a-beginners-guide-to-pure-css-images-ef9a5d069dd2) 


-  [CSS Tricks — The Shapes of CSS](https://css-tricks.com/the-shapes-of-css/) 


-  [CSS Tricks — Advice for Complex CSS Illustration](https://css-tricks.com/advice-for-complex-css-illustrations/) 


-  [freeCodeCamp — CSS Shapes Explained](https://www.freecodecamp.org/news/css-shapes-explained-how-to-draw-a-circle-triangle-and-more-using-pure-css/) 


-  [MDN’s Clip Path](https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path) 


-  [Nadia Laasri — 3 Secrets Behind Single Div CSS Art](https://www.educative.io/edpresso/3-secrets-behind-single-div-css-art) 


-  [Nadia Laasri — Make Your First CSS Art](https://dev.to/laasrinadiaa/make-your-first-css-art-29jo) 


-  [Agathe Cocco — How to Create Pure Illustrations and Animate 
Them Part 1](https://dev.to/agathacco/how-to-create-pure-css-illustrations-and-animate-them---part-1-1j1k) 


-  [Suzanne Aichison — Get Started with CSS Art
](https://dev.to/s_aitchison/get-started-with-css-art-make-a-sheep-step-by-step-cbf) 

-  [Free Frontend — 17 CSS Illustrations](https://freefrontend.com/css-illustrations/) 


-  [CSS Clip-path Maker](https://bennettfeely.com/clippy/)

**What’s Next?**

My plans for the next chapter are:

- Working on CSS Framework (Bootstrap 5) and building projects on them.

- Continue learning JavaScript.

**Conclusion**

I am writing this post to help other beginners like myself understand this topic better. I hope you enjoyed this post and that reading it provided some useful information.

I have only been coding for a few months now, so there is still a lot for me to learn. I would love it if you could give me any feedback on my projects.

Also, if you know any other recommended resources not mentioned on the list and you want to share, please feel free to drop the link in the comment section.

To see my daily progress on the  [#100DaysofCode](https://dev.to/lanrewaju/my-coding-journey-in-2020-100daysofcode-challenge-accepted-2efo)  challenge, follow me on Twitter  [@lanre__waju](https://twitter.com/lanre__waju)