"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Batman Comics with pure CSS

Batman Comics with pure CSS

Published on 2024-08-01
Browse:271

I really can't say that I'm a big fan of TailwindCSS, because I don't like decorating my HTML with dozens of predefined classes instead of implementing a meaningful class directly in my own CSS code.

However, Alvaro Montoro shows how you can use predefined classes in a meaningful and even hilarious way with his Batman-Comic.CSS project, which enables you to create a comic without having the slightest idea about drawing comics!

Define the basic structure, add CSS classes for the various facial expressions, add texts for the speech bubbles ... Done. It's so amazingly cool and I think I will use it frequently in my posts, because sometimes a comic says more than a thousand words.

Here is a classic ... consisting of 10 HTML tags and a linked CSS file (and some tiny style adjustments ;):

(Just a picture here on dev.to)

Batman Comic


See the original post on kiko.io: Batman Comics with pure CSS

Release Statement This article is reproduced at: https://dev.to/kristofzerbe/batman-comics-with-pure-css-5ggk?1 If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3