Make 0 space between image and rest of body?

Here’s a test fiddle
I’m writing an electronjs app that shows me images as a slideshow. The problem I currently have is the body is always 3px taller than the image. Because of this when I set width/height of the window it’s 3px taller than expected and brings up scrollbars.
Now I can fix this with overflow hidden but when I actually want a scrollbar (cause the image is taller than the monitor) then 1) I’ll need to detect and enable it 2) still 3pixels taller
Any ideas what’s causing the extra space? border/margin/padding are 0 to various things

html, head, body, div, span, p, img, video {
border: 0;
margin: 0;
padding: 0;

15+ Best Twitch Stream Overlay Templates in 2020 (Free & Premium)

Twitch is well-known as a video game streaming platform but it’s actually much bigger than that. Now it’s populated by all kinds of content creators and professionals. Most of them are even using Twitch as their main source of income. You’ll notice that all these Twitch streamers have their own unique and personalized streaming setups.…

15 Free Logo Reveal Templates for Adobe After Effects

If you’re looking to spice up your branded videos and marketing campaigns, consider using an animated logo reveal. An animated logo can be a great way to capture the attention of your audience as they scroll through their newsfeed and to stand out from the competition. Luckily, you don’t have to be a motion design…

30 Poster Frame Mockup Photoshop PSD Templates

If you’ve got gorgeous art your audience loves, don’t just settle for presenting it through prints. Instead, use mockups and show them what your work would look like in their apartments. Therein lies the magic of poster frame mockups. Used by both artists and graphic designers, mockups open new possibilities. Poster frame mockup templates are…

Using WebXR With Babylon.js

Immersive experiences, especially those governed by mixed reality (XR), which encompasses both augmented and virtual reality, are quickly gaining new attention among developers and architects interested in reaching users and customers in novel ways. For many years, the lack of adoption of mixed reality experiences came down to hardware — too expensive and unwieldy —…

50+ Best PowerPoint (PPT) Templates of 2020

The key to winning your audience is a perfectly designed PowerPoint presentation. Whether you’re speaking at a conference, pitching to an investor, or talking about sales projections at a business meeting, this collection of the best PowerPoint templates will help you speak to your audience. The way you design your PowerPoint slides will play a…

Developing For The Semantic Web

In July the Wikimedia Foundation announced Abstract Wikipedia, an attempt to markup knowledge that is language-independent. In many respects, this is the culmination of decades of buildup, during which the dream of a Semantic Web has never quite taken off, but never quite disappeared either. As a matter of fact the Semantic Web is growing,…