Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Can this be solved using only CSS? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
19 replies
symisz
Can this be solved using only CSS?
I have a component that need to adapt its layout depending on the content it receives
.
In this example the layout changes depending on the amount of images
:
1 image
(in blue
)
2 images
(in yellow
)
3 images
(in green
)
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
CSS-only range
KP-C
Kevin Powell - Community / front-end
4y ago
How to generate this using css
KP-C
Kevin Powell - Community / front-end
3y ago