DEV Community

Cover image for Got bored and made iPhone 12 with Tailwindcss
Fayaz Ahmed
Fayaz Ahmed

Posted on

Got bored and made iPhone 12 with Tailwindcss

I coded the iPhone 12. Just because.

The code can be found here

It's mostly, layers of divs and some grid utilities. I have used a custom class for the frosted glass effect and some minor configuration changes to support the positioning of buttons.
It's all HTML except the icons.

Here's how it looked at the end.
Alt Text

Top comments (3)

codemattermedia profile image

The fact that you did this "just because" is amazing! 🏆

mananchawla2005 profile image
Manan Chawla

Awesome 👍

mosiera98 profile image

hi fayaz
excuseme for comment here
yoh had benn error in new firebase.auth.ApplicationVerifier('recaptcha') before

do you solve that problem???
my email is
please send your solution