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)

Collapse
 
codemattermedia profile image
codemattermedia

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

Collapse
 
mananchawla2005 profile image
Manan Chawla

Awesome 👍

Collapse
 
mosiera98 profile image
mosiera98

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 mostafa.asadi@gmail.com
please send your solution