
Images on your SME website: what should load first and what can wait?
A practical guide to hero images, lazy loading, fetchpriority and reserved image space, without empty speed promises.
Lees meerLearn how to build modern, responsive websites that work perfectly on all devices, from landing pages to complex web applications.
In an era where users visit websites via smartphones, tablets, laptops, and desktops, it is essential that a website adapts to every screen size. Modern web development is not just about design, but above all about flexibility, performance, and user experience.
Responsive design means that a website automatically adapts to different screen sizes and resolutions. This is achieved through flexible layouts, media queries, and modern CSS techniques.
The goal is to provide a consistent and optimal experience on every device, without needing separate versions of a website.
A mobile-first approach means you first design and develop for mobile devices, then expand to larger screens.
Why this matters:
Example of mobile-first CSS:
.container {
padding: 1rem;
}
@media (min-width: 768px) {
.container {
padding: 2rem;
}
}
@media (min-width: 1024px) {
.container {
padding: 3rem;
}
}Modern layouts are often built with Flexbox and CSS Grid.
Ideal for one-dimensional layouts (row or column):
.container {
display: flex;
justify-content: space-between;
align-items: center;
}Perfect for complex, two-dimensional layouts:
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}Images play a major role in performance and UX. Modern techniques ensure that images adapt to the screen and only load when needed.
<img
src="image.jpg"
srcset="image-400.jpg 400w, image-800.jpg 800w, image-1200.jpg 1200w"
sizes="(max-width: 768px) 100vw, 50vw"
alt="Description"
loading="lazy"
/>Lazy loading prevents images outside the viewport from loading immediately, which improves load time.
Performance is a crucial part of modern web apps. Fast websites lead to better conversions and user experience.
Key techniques:
In frameworks like Next.js you can dynamically import:
import dynamic from 'next/dynamic';
const HeavyComponent = dynamic(() => import('./HeavyComponent'), {
loading: () => <p>Loading...</p>
});Today's web apps are often built with modern frameworks and tools:
These tools make it easier to build scalable and maintainable applications.
A good responsive website is not only visually flexible, but also accessible to everyone.
Key principles:
Example:
<button aria-label="Open menu">☰</button>Breakpoints determine when a layout changes. Common breakpoints:
Instead of focusing on fixed breakpoints, it is better to think content-first: the layout adapts based on the content, not just the screen.
Responsive design applies to every type of project:
The future lies in even smarter and more adaptive interfaces:
These developments make it possible to deliver even better performance and user experiences.
Modern responsive websites are a combination of design, technology, and performance. By thinking mobile-first, using flexible layouts, and focusing on speed and accessibility, you can build websites that work perfectly on every device.
Whether it's a simple landing page or a complex web application, the core remains the same: an optimal experience for every user, regardless of the device.
Web Developer & Digital Strategist — IntrICT, Gent
Gespecialiseerd in moderne websites (Next.js, React), SEO en GEO voor Belgische bedrijven. LinkedIn
Meer interessante artikelen die je mogelijk interessant vindt

A practical guide to hero images, lazy loading, fetchpriority and reserved image space, without empty speed promises.
Lees meer
When should you use a popover, dialog or ordinary text? A practical guide to clear, accessible interactions on your SME website.
Lees meer
Practical contact forms for Belgian SMEs: less data, accessible labels and errors, server checks and an honest acknowledgement of receipt.
Lees meer