---
title: "This took me way too long to solve 🤦‍♂️"
url: https://daily.dev/posts/this-took-me-way-too-long-to-solve--qkwxs0p4a
source_url: https://www.youtube.com/watch?v=TajGQqmZLzU
type: video:youtube
source: "Coding in Public"
published: 2026-05-19T12:58:44.693Z
updated: 2026-05-19T12:59:01.973Z
tags: ["css"]
reading_time: 3
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# This took me way too long to solve 🤦‍♂️

**[Coding in Public](https://daily.dev/sources/codinginpublic)** · 3 min read · 0 upvotes · 0 comments

## Summary

A practical CSS problem-solving walkthrough covering how to create seamless single-pixel borders around grid cards without double borders or layout gaps. The solution uses box-shadow instead of border on each card, combined with a 1px gap on the parent container, so borders visually overlap without affecting document layout and work regardless of how many cards are present.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=TajGQqmZLzU>

## Similar posts on daily.dev

- [Someone good at CSS help, my website design is dying](https://daily.dev/posts/someone-good-at-css-help-my-website-design-is-dying-cx73akuye) · Lobsters · 23 upvotes · 4 comments
- [Fun shadow coding challenge](https://daily.dev/posts/fun-shadow-coding-challenge-zpl8nwyqu) · Kitty says hi. · 1 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css)

[View this post on daily.dev](https://daily.dev/posts/this-took-me-way-too-long-to-solve--qkwxs0p4a)
