The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Use a source image large enough for the biggest layout you support, then let CSS control how it is rendered. For a background that must fill its container, set background-size: cover; it preserves the image’s proportions but crops whichever edges do not fit the container’s aspect ratio. Use contain when the entire image must remain visible, and inspect both wide and narrow layouts because no single pixel size works for every website.
What “resize for a background” actually means
A background image has two separate sizes:
- Source dimensions: the pixel width and height of the file you serve.
- Rendered dimensions: the size CSS gives the image inside a particular element and viewport.
CSS can scale a source up or down, but it cannot preserve detail that was never captured. Choose a source large enough for the largest intended display, then use CSS sizing and positioning to control the result. The required dimensions depend on the element’s size, its aspect ratio, display density and the viewport range you support—not on a universal “website background” number.
Choose the right sizing behavior
| Setting | Coverage | Crop | Best use | Important caveat |
|---|---|---|---|---|
cover |
Fills the entire element | Yes, when aspect ratios differ | Hero sections and decorative panels where edge loss is acceptable | Position the focal point deliberately |
contain |
Shows the complete image | No | Logos, diagrams or artwork whose edges matter | Unused space can remain; disable tiling |
auto (default sizing behavior) |
Not guaranteed | Depends on the element | Special cases where intrinsic dimensions are wanted | Often leaves uncovered areas or an unsuitable scale |
MDN’s guidance on background-size defines cover as scaling until both dimensions cover the box while preserving the source ratio. That is why a wide image can lose its left and right edges in a tall mobile hero. contain scales until the whole image fits; set background-repeat: no-repeat or the remaining area may tile.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Baseline CSS that fills a section
.hero {
min-height: 28rem;
background-image: url("/images/hero.webp");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
background-position decides which part survives the crop. center is only a starting point. If a person’s face is near the top, try center top; if the subject is on the right, try 70% center. Verify the focal point at every breakpoint rather than assuming one position works everywhere.
#1 Best Overall
- Wacom Intuos Small Graphics Drawing Tablet: Enjoy industry leading tablet performance in superior control and precision with Wacom's EMR, battery free technology that feels like pen on paper
- Works With All Software: Wacom Intuos tablet can be used in any software program to explore new facets of digital creativity; draw, paint, edit photos/videos, create designs, and mark up documents
- What the Professionals Use: Wacom's industry leading pen technology and pen to paper feeling makes it the preferred drawing tablet of professional graphic designers
- Software and Training Included: Only Wacom gives you software with every purchase. Register your Intuos tablet and gain access to some of the best creative software and Wacom's online training
- Wacom is the Global Leader in Drawing Tablet and Displays: For over 40 years in pen display and tablet market, you can trust that Wacom to help you bring your vision, ideas and creativity to life
How to calculate a practical source size
- Measure the largest rendered box. Include the maximum content width and height your design can produce, not just the default desktop screenshot.
- Account for the image’s ratio. A source that is much wider than the box will crop more under
cover; a source with a similar ratio wastes fewer pixels. - Allow for high-density displays. Retina and other device-pixel-ratio screens can display more source detail. Do not upscale a small file and expect it to become sharp.
- Keep a safe area. Leave margin around text, faces and logos because responsive crops can remove edges.
- Inspect real breakpoints. Test the largest desktop, a tablet width and the narrowest phone layout you support. Change
background-positionor provide another asset when the subject no longer fits.
For example, a banner that is approximately 1,440 CSS pixels wide on desktop but becomes a tall, narrow block on phones needs a composition that survives both crops. A single 1,440-pixel-wide image may be technically usable, yet a phone-specific portrait asset can preserve the subject and avoid downloading unnecessary pixels.
Serve different background files responsively
Media queries can select a smaller or differently composed source so narrow screens do not have to fetch the desktop image. This is the approach described by web.dev for optimizing CSS background images.
.hero {
min-height: 30rem;
background: url("/images/hero-mobile.webp") center top / cover no-repeat;
}
@media (min-width: 48rem) {
.hero {
background-image: url("/images/hero-desktop.webp");
background-position: center;
}
}
Put the mobile rule first, then override it at the breakpoint. The files can have different aspect ratios and crops; they do not need to be resized versions of one another. Compress each file appropriately, retain enough quality for its largest rendered use, and confirm that the browser requests the expected asset in developer tools.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11When a background should be an HTML image instead
CSS backgrounds are appropriate for decoration, such as a texture or a hero photograph behind text. If the picture communicates information, represents a product, or is essential to understanding the page, use an HTML <img> instead. MDN’s responsive-images guidance covers srcset and sizes so the browser can choose a suitable file, and it gives decorative header imagery as a CSS-background use case.
<img
src="/images/report-800.webp"
srcset="/images/report-400.webp 400w,
/images/report-800.webp 800w,
/images/report-1600.webp 1600w"
sizes="(max-width: 48rem) 100vw, 50vw"
alt="Quarterly revenue chart"
>
An img can have meaningful alternative text, participate in intrinsic sizing and be lazy-loaded when appropriate. Do not hide a meaningful image in a background merely to obtain a convenient crop.
Rank #2
- Word-first 16K Pressure Levels: The upgraded stylus features 16,384 levels of pressure sensitivity and supports up to 60 degrees of tilt, delivering smoother lines and shading for a natural drawing experience. With no battery or charging needed, it operates like a real pen, making it easy for beginners to create effortlessly. This functionality helps novice artists develop their skills and explore their creativity without the intimidation of complex tools
- Designed for Beginners: This drawing pad desinged with 8 customizable shortcuts for both right and left-hand users, express keys create a highly ergonomic and convenient work platform
- Perfectly Adapted for Android: The XPPen Deco 01 V3 art tablet supports connections with Android devices running version 10.0 and above. It is recommended to download the XPPen Tools Android application, which adapts to your smartphone's screen aspect ratio, ensuring accurate mapping. It also supports mapping on Android screens with different aspect ratios in portrait mode
- Large Drawing Space, Bigger Bold Inspiration: This expansive drawing pad has10 x 6.25-inch helps you break through the limit between shortcut keys and drawing area
- Easy Connectivity for Beginners: The Deco 01 V3 offers USB-C to USB-C connectivity, plus adapters for USB C. This ensures easy connection to various devices, allowing beginner artists to set up quickly and focus on their creativity without compatibility concerns. Whether using a laptop, tablet, or desktop, the Deco 01 V3 provides a seamless experience, making it an ideal choice for those just starting their digital art journey
Prepare and export the source file
- Crop during design. Make the desktop and mobile compositions intentional rather than relying on accidental edge loss.
- Choose a web format. WebP is used in the examples; JPEG or another supported format may suit photographic content. Keep a fallback if your browser support policy requires one.
- Remove unnecessary metadata. It adds bytes without improving the rendered background.
- Do not enlarge a small original. Upscaling creates softness; obtain or export a larger source instead.
- Check contrast. Overlay text, gradients or a darker alternate crop when the image makes content hard to read.
- Respect licensing and privacy. Resizing does not change image rights or remove sensitive content.
There is no evidence-based universal recommendation such as “always use 1920 pixels.” The correct file is the smallest one that remains sharp at your largest supported rendering and still works with your crop strategy.
Debug common background problems
The image is cropped on mobile
Cause: cover must fill a container whose ratio differs from the source. Fix: move the focal point with background-position, reduce the mobile section height, or select a mobile-specific asset with a more suitable composition.
Empty bands appear around the image
Cause: contain preserves the whole image and therefore may leave unused space. Fix: use cover if cropping is acceptable, or keep contain and style the surrounding background color. Always set background-repeat: no-repeat when tiling is not intended.
The background looks stretched
Cause: the image was forced into both dimensions independently, commonly through a fixed width and height on an image element. Fix: use background-size: cover or contain, both of which preserve proportions. Avoid manually setting unrelated width and height values that distort the source.
Rank #3
- 【Android 16 Tablet with Gemini AI 3.5】The 11 inch TABWEE T90 brings a cleaner, smarter tablet experience for work, study and home use. Android 16 adds a simpler lock screen, customizable Quick Settings, improved video calls with background blur and portrait light, easier cloud photo selection and enhanced Linux terminal support. With Gemini AI 3.5, you can search, translate, summarize notes, organize ideas and plan tasks more efficiently—ideal for online classes, reading, video calls and light office work
- 【11 Inch FHD IPS Display for Streaming, Reading and Learning】Enjoy a bigger and clearer viewing experience on the 11 inch FHD display with 1920 x 1200 resolution and an 84.9% screen-to-body ratio. The fully laminated TDDI screen delivers more natural colors, smoother touch response, and a more immersive feel when watching movies, reading documents, viewing recipes, or studying online. With Widevine L1 support, dual smart speakers, and 380-nit brightness, this Android tablet is ideal for Netflix-style streaming, YouTube, music, eBooks, online lessons, and comfortable indoor entertainment
- 【24GB RAM + 128GB ROM, More Space for Daily Needs】Android 16 tablet comes with up to 24GB RAM, including 8GB built-in RAM and 16GB virtual memory expansion, helping daily apps run smoothly for browsing, video watching, note-taking, email, and study apps. The 128GB ROM provides plenty of room for photos, documents, music, videos, learning materials, and work files. Need more storage? The TF card slot supports up to 2TB expansion, so you can keep more movies, books, files, and family memories without constantly deleting content. Memory expansion path: Settings > System > Memory Expansion
- 【T615 Octa-Core + 8000mAh Battery for Long Days】Powered by the Unisoc T615 octa-core processor, T90 delivers reliable everyday speed for streaming, video calls, online lessons, reading, emails and document editing. The 8000mAh battery supports up to 11H video playback, 8H daily entertainment or 40H music, while smart power management helps reduce background drain, making it ready for flights, commutes, study sessions and busy workdays
- 【13MP Camera with Google Lens】The 13MP rear camera works with Google Lens to make daily tasks easier. Scan documents, translate text, identify objects, search products, capture handwritten notes, or save useful information in seconds. The 5MP front camera is suitable for video calls and clear face-to-face communication. With dual-band 5G WiFi, Bluetooth 5.0, and support for GPS, GLONASS, Galileo, and Beidou, this Android tablet offers fast downloads, stable wireless connections, easy accessory pairing, and reliable location support for travel, maps, and mobile use
The subject disappears behind text
Cause: the focal point and content column compete for the same area. Fix: reposition the background, change the crop, add a gradient overlay, or create a variant with intentional negative space.
The file is sharp but the page is slow
Cause: the browser downloads a large desktop source even on a small viewport, or the file contains unnecessary bytes. Fix: use media-query-selected assets, compress each source, and inspect the network panel to verify that the intended file is fetched. Responsive selection can prevent smaller-screen visitors from downloading an unnecessarily large source.
The background does not appear at all
Check the URL, filename case, network response status and whether the element has height. A background on an empty element with no height has no visible area. Also check that a later shorthand declaration has not overwritten background-image.
A repeatable testing checklist
- Test the smallest and largest supported viewport widths.
- Test a high-density display or browser zoom to expose softness.
- Confirm the focal subject remains visible in every crop.
- Verify text contrast in both light and dark portions of the image.
- Use the network panel to confirm mobile assets are not unnecessarily replaced by desktop files.
- Test slow connections and cached visits; large backgrounds can delay visual completion even when layout is correct.
- Check keyboard and screen-reader experience when the image conveys meaning; switch to
imgif needed.
Or skip the browser setup
If you need rendered screenshots of your responsive page while checking crops, ScreenshotNeo provides a website screenshot API and MCP server. It accepts a URL and can capture PNG, JPEG, WebP or PDF. Its clean-shot workflow accepts consent banners and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each step can be turned off.
Only clean shots are billed. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, and the response identifies the result with X-Page-Verdict and X-Billed headers. An MCP server exposes take_screenshot, get_page_info and capture_pdf to Claude, Cursor and other MCP clients.
Rank #4
- Wacom Intuos Medium Bluetooth Graphics Drawing Tablet: Enjoy industry leading tablet performance in superior control and precision with Wacom's EMR battery free technology that feels like pen on paper
- Works With All Software: Wacom Intuos tablet can be used in any software program to explore new facets of digital creativity; draw, paint, edit photos/videos, create designs, and mark up documents
- Wireless Superior Connectivity: Connect wirelessly via Bluetooth or directly using USB-A cable which enables you to work, draw or create whether it's at a desk, on the sofa, in classrom or even outside
- Software and Training Included: Only Wacom gives you software with every purchase. Register your Intuos tablet and gain access to some of the best creative software and Wacom's online training
- Wacom is the Global Leader in Drawing Tablet and Displays: For over 40 years in pen display and tablet market, you can trust that Wacom to help you bring your vision, ideas and creativity to life
For a one-call capture, see the ScreenshotNeo API documentation:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
You can set full-page capture, lazy-image loading, a CSS selector for one element, dark mode, any viewport or one of 12 device presets, retina scale, custom CSS and JavaScript, click and wait actions, blocked resources, headers, cookies, user agent, authorization, timezone, geolocation, transparent backgrounds, resizing, a chosen cache TTL, signed image links, asynchronous webhooks, bulk capture of up to 100 URLs per call, usage reporting and an OpenAPI specification. Parameter names used by other screenshot APIs also work, easing migration.
The Free plan includes 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 shots; every feature is included on every plan, and yearly billing gives two months free. Sign up for the free plan to capture your test pages without a card.
FAQ
Should I resize the file in an editor or with CSS?
Use an editor or build pipeline to create appropriately composed, compressed source files; use CSS to choose how each source fills its container at runtime. You normally need both.
Best Value
- WACOM’S BEST PEN TECHNOLOGY: Pro Pen 3 offers amazing precision, 8192 pressure levels, tilt support & lag-free tracking for smooth, precise strokes; choose slim, straight or flared grip, adjust balance & button layout for precision and comfort
- DIAL INTO PRODUCTIVITY: Speed up and stay in the creative flow with 10 customizable tablet ExpressKeys & 2 mechanical dials conveniently located at the top of the tablet and close to your keyboard for efficiency
- DESIGNED FOR MODERN MONITORS: With a versatile 16:9 format perfect for multiple monitors and wide displays; medium size has a large active area with a small footprint 11.4 x 8.1” / 291 x 206 mm
- SLEEK AND STURDY: Measuring 4mm at its thinnest this professional-grade drawing tablet feels like pen-on-paper on your desk, combined with the robust durability of magnesium making it equally suited for your office or life on the go
- WIRELESS FREEDOM: use Intuos Pro with USB or connect wirelessly via Bluetooth to multiple computers with a simple switch
Can one background image support every screen?
It can, but it may crop badly or download more bytes than necessary. Separate sources selected with media queries are preferable when the composition or performance requirements differ substantially.
Is cover always better than contain?
No. Choose cover when complete coverage matters and cropping is acceptable; choose contain when every pixel must remain visible and empty space is acceptable.
Frequently Asked Questions
Should I resize the file in an editor or with CSS?
Create appropriately composed, compressed source files in an editor or build pipeline, then use CSS for runtime sizing and cropping.
Can one background image support every screen?
Sometimes, but separate media-query-selected sources are better when mobile and desktop need different crops or file sizes.
Is cover always better than contain?
No. Use cover for full coverage with acceptable cropping; use contain when the complete image must stay visible.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

