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.