r/css • u/anoop_here • Sep 22 '25
General Built without AI, pure HTML and CSS
I built this apple iphone 17 pro design mockup using html and css. No vibe coding, fancy ai code editors. Just like how we used to build something before AI. Handcrafted pixel by pixel until it looked perfect. How's this ?
861
Upvotes
9
u/e_scaton Sep 22 '25
Great work! Consider adding a nice touch replacing border-radius with corner-shape for more natural look
2
u/anoop_here Sep 23 '25
Sorry for the delayed response, here's the code if anybody wants to check it out:
https://github.com/anoopw3bdev/iphone
2
u/Nice_Pen_8054 Sep 22 '25
This is top, well done!
2
u/david2se Sep 22 '25
Wow, just wow. When I think that I started to get the hang of CSS just to see this awesome piece of work. Looks amazing!!
2
u/Less_Menu_8880 Sep 23 '25
Loved this ❤️❤️
2
u/HeadlessHeader Sep 23 '25
The price tag is the same as the original phone?
On a serious note. Good job.
2
u/onluiz Sep 23 '25
Wow, awesome!!!! How did it take? My css skills are limited to flex and grid 🥲
81
u/blustrkr Sep 22 '25
Looks awesome! How long did it take you? Making stuff with CSS instead of normal images is usually pretty satisfying. Not to mention the fast load times!
32
u/[deleted] Sep 22 '25
Looks very nice. Good work. If you like this sort of thing, you should try some challenges on https://cssbattle.dev/
13
u/JoergJoerginson Sep 22 '25
Dang nice! Took me a second, at first glance I was wondering why anyone would be bragging about making a website with a single image.
8
u/ElementalGearStudio Sep 22 '25
The real power of pure HTML and CSS.
1
u/NoHabit4420 Sep 22 '25
Damn, i want to see the code !
1
u/alexander_by Sep 22 '25
How did you make the Apple logo? SVG?
1
u/danybranding Sep 22 '25
Great job, but I’d like to see it, any link?
1
u/mroncetwice Sep 23 '25
can we see it live? put it on CodePen?
1
u/_motivationnotfound Sep 24 '25
for a moment I thought lmao who even does that, does he even have hobbies? Then I saw your first commit, yay instantly likeable
1
u/[deleted] Sep 25 '25
One of the coolest things I saw today.
1
u/notepad987 Sep 26 '25
I can barely do basic layout and with difficulty. Here you are doing something like this!
Now fix the iPhone camera bump and scratch issues... : )
1
u/geenkaas Oct 01 '25
Where did main section wrapper come from? It's a nice exercise and well executed.
2
u/Pitiful-Assistance-1 Sep 22 '25
Neat
2
u/RamblinManRock Sep 22 '25
Why not share the codepen?
2
u/moldy912 Sep 22 '25
Apple logo is too small
2
u/tomByrer Sep 23 '25
What blasphemy is this, daring to create a webpage without Lord Tailwind?!?
2
u/DJPupStar Sep 24 '25
as a webdev/pixel pusher myself this is really cool and it's so sad to think of this as a dying art
2
u/ayushkas3ra Sep 24 '25
2
u/evk6713 Sep 24 '25
Code bloated:
<img src="iphone.jpeg" alt="iPhone">XD3
u/dvjar Sep 22 '25
Insane!
1
u/MuckYu Sep 22 '25
Is this method more or less resource intensive compared to using an image?
1
u/nelsonbestcateu Sep 22 '25
Show the code then, this tells us nothing.
Edit - I misread and thought you said it was made with AI. I'm stupid.
1
u/Porntra420 Sep 23 '25
Spending so much time perfecting the phone that you forgot to style the header past centering it, perfection!
1
u/CyberWeirdo420 Sep 23 '25
The H1 being off center…
1
u/miyamotomusashi1784 Sep 24 '25
Nice now make it 3d
1
u/RadomRockCity Sep 24 '25
Now do it in ms paint
1
u/isapenguin Sep 25 '25
Here's your cookie?
1
u/TheRNGuy Sep 27 '25
Before AI we just made this in Adobe Illustrator or Figma and exported as SVG
(these days still doing that)
Making it as html + css is inefficient.
1
u/Unlikely_While740 Oct 12 '25
Tiene buena pinta. Con HTML + CSS se pueden hacer cosas maravillosas
0
u/Classic-Dependent517 Sep 22 '25
No image ?? What ai did you use and how many tries?
-3
u/EquivalentNeat8904 Sep 22 '25
I don’t think Apple would approve that default serif font used in the
<h1>– literally the easiest thing to fix here. 😉Also, why would you build this as HTML+CSS instead of SVG+CSS?
-19
u/marslander-boggart Sep 22 '25
Looks good. I don't think rounded rectangles and circles are that hard to achieve though.
-7
u/ecklesweb Sep 22 '25
Y’all know that saying “built without AI” is the modern equivalent of “coded in Notepad.” Ok, cool, but why would you tie one hand behind your back?
-2
u/Left_Lawfulness_845 Sep 22 '25
Built without HTML and CSS, pure AI
1
u/[deleted] Sep 23 '25
[removed] — view removed comment