Gemini is indeed great for frontend HTML + CSS and even some light DOM manipulation in JS.
I have been using Gemini 2.5 and now 3 for frontend mockups.
When I'm happy with the result, after some prompt massage, I feed it to Sonnet 4.5 to build full stack code using the framework of the application.