Home  >  Article  >  Web Front-end  >  Batman Comics with pure CSS

Batman Comics with pure CSS

王林
王林Original
2024-07-18 20:50:521021browse

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

The above is the detailed content of Batman Comics with pure CSS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn