Jollof Rice in Pure CSS
DEV Community

EDITOR BRIEF
This CSS art piece recreates a bowl of jollof rice with plantain, a boiled egg, and a pepper, all without images or SVG assets. The artist says the rice texture, plate speckles, and fried edges are made with layered gradients and box shadows, while the steam uses blurred circles animated on different delays. They also reflect that CSS texture can come from stacking small gradients at different sizes and opacity.
INSIGHTS
This is a good example of how basic CSS tools can create realistic visuals. A useful next step is to experiment with radial gradients and keyframe animations to make your own food art or simple motion effects.
Learn more with these courses
CodeFriends courses that build on this story. Practice in the browser with nothing to install.
- Introduction to HTML, CSS, and JavaScriptLearn the fundamentals of HTML, CSS, and JavaScript, and build your own website from scratch.Beginner25 Hours
- Introduction to Web Development (Light)Master HTML, CSS, and JavaScript in just 10 hours.Beginner10 Hours
- Python Programming 101Learn Python in just 20 hours! Kickstart your programming journey with this beginner-friendly course.Beginner20 Hours
COMMENTS
Loading comments…