Home
ProjectsBlogArt

Follow Along: A Beginner’s Guide to Pure CSS Images

Tutorial Followed: A Beginner’s Guide to Pure CSS Images

I found this article yesterday and decided to follow it while taking notes. I think CSS art will be a fun way to learn more about HTML and CSS. At the moment, I'm using someone else's minimal blog CSS that they have posted here "Just enough CSS for a blog" in this article. I want to create my own global.css file but at the moment I'm happy with how this works.

What I knew before

What I learned

What I found fun!

I found learning about CSS art very fun. I followed the tutorial exactly until I wanted the eyes to be a bit more spaced apart. I correctly guessed that I would have to decrease the percentage of the left for left eye and right for right eye. At this point, I already had the pupils CSS code, so I was surprised that I did not have to also adjust their position. But I remembered that the pupil is a child of the eye so it will always be dead center based on its current position. If instead the pupil was a child of the head, then we would need to adjust the position! I thought it was a cool moment when the concepts solidified a bit more in my head.

Once I had my code complete in the codepen.io, I fiddled around and adjusted the values a bit to see how things would change. I think it's fun how I can envision how I'd improve with CSS art by learning new attributes and tricks. Since this was a tutorial, I didn't find it difficult at all

Key takeaways