惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
量子位
月光博客
月光博客
罗磊的独立博客
宝玉的分享
宝玉的分享
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
WordPress大学
WordPress大学
博客园 - 叶小钗
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
雷峰网
雷峰网
博客园 - 三生石上(FineUI控件)
Jina AI
Jina AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
美团技术团队
爱范儿
爱范儿
V
Visual Studio Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Y
Y Combinator Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why "It Works on My Machine" Is a Website Design Problem,...
Mittal Techn · 2026-04-24 · via DEV Community

Mittal Technologies


Every developer has said it. Every designer has heard it and rolled their eyes a little. But here's the thing: "it works on my machine" isn't just a testing failure. In 2026, it's often a design and architecture failure that was baked in way earlier than anyone wants to admit.
I've been thinking about this a lot lately after working through a few web projects where the gap between "looks great in Figma" and "actually works for real users on real devices" was... wider than it should have been.

The gap between design and lived experience

When you build websites professionally, you work on good hardware. You have a fast machine, a decent internet connection, probably a high-resolution monitor. Your browser is up to date. You've cleared your cache. The fonts load instantly because they're already cached from testing.
Your users are not in that environment. Some of them are on budget Android phones with 3G connections in areas with patchy coverage. Some of them are on ancient iPads their company hasn't replaced yet. Some of them have accessibility needs that mean your carefully designed hover states and animated reveals are actively making the experience worse for them.
This isn't just a "test on more devices" reminder. It's a design philosophy point. If your design decisions assume an ideal environment, they're not really design decisions - they're prototypes. Real design accounts for the actual range of people using it.

Performance is a design decision

Here's something that gets siloed incorrectly: performance is treated as a development concern, but a lot of performance problems start in design.
A 4K hero image because the designer wanted the visual impact. A custom font because the brand guidelines specified it. Twelve different animation effects on the homepage because they looked incredible in the prototype. All of these are design decisions. All of them have performance costs that the development team has to absorb downstream.
The most effective teams I've seen treat performance as a constraint from the very beginning of the design process, not something you bolt on at the end when Lighthouse is giving you red scores. "What's the performance budget for this page?" should be a design question, not a post-launch panic question.

Component-first design and why it matters for devs

This is where design and development decisions actually intersect in ways that matter for code quality. When design or website ux design is done without a component system when every page is essentially a new snowflake, the frontend code gets messy. You end up with twelve variations of a card component because the designer made each one slightly different, and now the developer has twelve separate things to maintain instead of one configurable component.
Component-first design (whether you're using Figma's component library, a Storybook instance, or just a shared design system document) maps to how good frontend code actually works. It forces consistency. It reduces the implementation surface. And it makes changes dramatically cheaper because you're changing one component, not hunting through every page.

The handoff problem nobody talks about enough

Somewhere between "the design is approved" and "the code is deployed," information gets lost. Interaction states that weren't fully specced. Edge cases the design didn't account for what happens to this card if the title is 80 characters instead of 30? What does the form validation look like? What happens on a 320px screen?
These gaps get filled by developers making judgment calls. Sometimes those calls are great. Sometimes they're not. And then the designer looks at the built thing and says "that's not what I designed," and the developer says, "you never told me what to do there," and both of them are right.
Better process: design reviews that specifically look for unspecced states, edge cases, and responsive breakpoints before anything gets built. Painful upfront. Much less painful than rebuilding later.

What this means practically

If you're on a dev team that works with designers, push earlier on performance and edge cases. If you're on a design team that hands off to devs, design for the messy reality of real content and real devices.
The websites that actually serve users well - not just the ones that look good in portfolio screenshots are built by people who understand that design and development aren't sequential phases. They're an ongoing conversation.
This is something the team at Mittal Technologies has built into their process for web projects - treating design decisions and development constraints as the same conversation rather than separate workstreams. It's not always the fastest process, but it produces good website ux design or websites that hold up when real people actually use them.
It's worth thinking about next time someone says, "it looks fine in the mockup."