DEV Community

Cover image for I Know the Recipe. I Miss the Winter Kitchen.
Shubhra Pokhariya
Shubhra Pokhariya

Posted on

I Know the Recipe. I Miss the Winter Kitchen.

Frontend Challenge CSS Art Submission 🍲πŸ₯§

This is a submission for Frontend Challenge - Comfort Food Edition, CSS Art.

Inspiration

When I first read Comfort Food, my mind immediately went somewhere I haven't visited in years.

Not to pizza. Not to desserts. Not even to my favorite recipes.

It went back to my childhood kitchen.

During winter, even though we had a gas stove, my mother would often light our clay chulha. The kitchen felt warmer, the fire crackled softly, and one by one the phulkas would puff over the flame.

I still remember sitting there with my father and siblings, all of us eating from the same plate while waiting for the next phulka to arrive. It wasn't a special recipe. Just wheat flour, water, fire, and my mother's hands.

I've eaten many wonderful meals since then, but somehow those simple phulkas are still the first thing that comes to mind when someone asks me about comfort food.

I still remember how she would quietly place another phulka in front of me before I could even say I was full. If I protested, she'd smile and insist, "Just one more." Somehow, there was always one more.

Today I still love cooking. I know exactly how to make soft phulkas myself. But every now and then I realize I was never missing the recipe.

I was missing that winter kitchen. That feeling of waiting together. That warmth.

Somewhere while writing this, I stopped thinking about the challenge. I wasn't writing a submission anymore. I was simply writing down a memory I never wanted to forget.

Before anyone else reads this, I already know who I want to send it to first. My siblings. Because they'll know exactly which kitchen I'm talking about.

Demo

View the live demo on CodePen

What you're looking at: a clay chulha, firewood at the opening, flames glowing between the sticks, and a phulka cooking on the tawa. Nothing else. I wanted to keep the scene simple and let the story carry everything that isn't visible in the CSS.

The interaction: tap the phulka. It rises and settles, and one line stays on screen for a moment. I never missed the recipe. I missed the winter kitchen.

Journey

As a frontend developer, I wanted this project to be more than drawing food with CSS. I wanted to get the shape right, because the shape is the first thing anyone who grew up around a chulha will recognize, and the first thing that would look wrong to them if I got it wrong.

My first pass was a rounded dome. It looked warm, but it didn't look like a chulha. It read more like generic firelight. The chulha I remember has a solid, tapered clay body with a flat cooking surface on top. I reshaped the base and used layered gradients and border-radius to give the clay body its rounded, hand-built form, then moved the fire into a proper opening at the front instead of letting the flames float above the structure. That single change did more for the piece than every gradient I'd added before it.

The firewood took a few tries. Real sticks angle outward from the opening at different rows, not in a neat fan, so I gave each one its own rotation and length instead of repeating one shape three times. The flames sit low among the sticks now, several small uneven tongues instead of a few tall symmetrical ones, each flickering on its own timing so they never move in sync.

The phulka's lighting was the detail I'm proudest of getting right. The fire sits below and in front of it, so the warm highlight has to come from underneath, not from a generic top-left light source the way most CSS food art defaults to. Once I flipped that, it stopped looking like a painted circle and started looking like something actually sitting near heat.

The puff interaction runs on a single checkbox and the :has() selector. No JavaScript anywhere in the file. Tap the phulka, it lifts with a spring easing, and the line fades in at the top of the scene. prefers-reduced-motion turns off the fire and smoke animations and settles everything into a still, warm frame for anyone who needs that.

I started with more in the frame, a rolling pin, a cloth, even the whole kitchen at one point. Every version I stripped back felt more honest than the one before it. I realized I didn't need to recreate the entire kitchen to tell the story. The kitchen, my mother, my siblings, the warmth, and those hot phulkas are all part of the memory, but the chulha and the phulka are what I could recreate in CSS without trying to turn the memory itself into an illustration. So I kept the scene simple: the chulha, the fire, and the phulka. Everything else lives in the story behind it.

Comfort food isn't always the most elaborate meal. Sometimes it's the simplest one, because what we remember isn't the recipe. It's the people we shared it with.

I hope everyone who sees this remembers a kitchen that instantly takes them back home, wherever home may be.

Built with pure CSS. No JavaScript, no frameworks, no libraries.

Top comments (18)

Collapse
 
coderivet profile image
Michael Krupnyak

It keeps giving things up the longer you look, so I went and read the CSS πŸ‘€

The soot sits where smoke would actually collect. The firewood pushes out past the mouth, the way it does when you keep feeding it in. Small things nobody would miss if they weren't there.

The lighting is the part I would have got wrong: warm highlight low on the phulka, shadow up top. Fire lights from underneath, and redoing that by hand is work nobody sees.

It took me a while to work out that the bread wants tapping. I had just been hovering over it, waiting for something to happen.

Thank you for making this, and for the kitchen behind it πŸ™‚

Collapse
 
shubhradev profile image
Shubhra Pokhariya

Thank you so much, Michael! 😊 I really appreciate you taking the time to read through the CSS as well as the story. It means a lot that you noticed those little details. The soot placement and the firewood pushing past the mouth were both small details, so I'm really glad you noticed them.

The phulka's lighting is the one I'm proudest of getting right, fire lighting it from underneath instead of the usual top-left glow. And I love that your first instinct was to hover and wait, most people try that before realizing it actually wants a tap.

Thank you for noticing the kitchen behind the CSS too, that part means a lot to me.

Collapse
 
webdeveloperhyper profile image
Web Developer Hyper

Not only the CSS animation, but the background story was interesting too! Everyone has their own food memories from childhood. As a Japanese person, mine might be rice and miso soup. 🍚🀀

Collapse
 
shubhradev profile image
Shubhra Pokhariya

Thank you so much! 😊 I love how food memories can be so different for everyone, but somehow the feeling behind them can be so similar. Rice and miso soup sounds like such a comforting childhood memory. I love how certain foods can take us straight back to childhood. Rice is definitely something I can relate to, I love it too! I’ve never actually tried miso soup, but I love cooking and trying different dishes, so now I’m curious to find a recipe and give it a try.

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

Shubhra, I loved this ❀️ Even though I’m from South India, I’ve always loved having phulkas, so seeing them as the center of this beautiful childhood memory made me smile. The way you connected the food with the warmth of the kitchen and the people you shared it with was really lovely. And the CSS recreation of the chulha and phulka makes it even more special.

Collapse
 
shubhradev profile image
Shubhra Pokhariya

Thank you so much, Hemapriya! 😊 I’m really glad the memory came through. It’s funny how a simple food can carry so many memories of home, family, and those little moments we don’t realize we’ll miss later.

Thank you for reading the story and for taking the time to try the CSS recreation. It means a lot.

Collapse
 
technogamerz profile image
π“π‘πž π‹πšπ³π² 𝐆𝐒𝐫π₯

techno

I am from Rajasthan, and I really love the taste of rotis (pulkas) made on this. When the temperature drops to 0°C, there is nothing that feels more like a blessing from God than this. Your design is truly amazing. ❀️

Collapse
 
shubhradev profile image
Shubhra Pokhariya

Thank you so much! 😊 And thank you for sharing this. I can imagine how comforting a hot roti from the chulha must feel when the temperature drops that low.

There’s something about food cooked over that fire that just feels different. Your photo brought back the same kind of warmth I was trying to capture in my piece.

Collapse
 
_artclick profile image
Artclick

This really got me. The line "I wasn't missing the recipe, I was missing the winter kitchen" says something a lot of us feel but never quite put into words. And getting the lighting right on the phulka, warm light from underneath instead of the usual top-left glow, is such a small thing that makes the whole scene feel true instead of just decorative. Beautifully done, both the story and the CSS.

Collapse
 
shubhradev profile image
Shubhra Pokhariya

Thank you so much! 😊 That really means a lot to me. I’m so glad that line resonated with you, because that feeling is really the heart of the piece. And yes, the lighting was one of those small details I really wanted to get right, so I’m happy you noticed it. Thank you for taking the time to look closely at both the story and the CSS.

Collapse
 
codingwithjiro profile image
Elmar Chavez

What a touching story. I suddenly remembered my mother's cooking (the best there is). It just hits right home. I opened your codepen link and I was not disappointed. I immediately felt the warmth. Your story is what makes your entry one of the best. It is intentional and genuine. Rooting for your entry to win!

Collapse
 
shubhradev profile image
Shubhra Pokhariya

Thank you so much, Elmar! 😊 I’m really glad the story brought back a memory of your mother’s cooking. That’s exactly what I hoped this piece might do, because some food memories stay with us for reasons that have nothing to do with the recipe itself.

And thank you for opening the CodePen and for your kind words about the entry. It really means a lot to me.

Collapse
 
nicola_fiore_89b1628cd6af profile image
Nicola Fiore

😍😍😍

Collapse
 
mdfold profile image
frank

It keeps giving things up the longer you look me to , taste is hard

Collapse
 
nicola_fiore_89b1628cd6af profile image
Nicola Fiore

Congratss

Collapse
 
indiesolovibe profile image
Muhammad Yusuf Abubakar

Excellent bro

Some comments may only be visible to logged-in visitors. Sign in to view all comments.