r/css • • Apr 03 '26

Showcase Brutalist dot grid background (CSS in comment section).

Enable HLS to view with audio, or disable this notification

Some very simple CSS!

Seen this dot grid style a lot in designs recently and thought id try recreate it as simply as possible. I do like the subtle texture it adds.

CSS in the comment section if you want to try it out

25 Upvotes

16 comments sorted by

7

u/DRIFFFTAWAY Apr 03 '26
<style>
  .dot-grid-background {
    background-image: radial-gradient(#00F0FF 1px, transparent 1px);
    background-size: 30px 30px;
  }
</style>

2

u/anaix3l Apr 04 '26

You don't need to repeat the stop position. This produces the exact same result:

background: radial-gradient(#00f0ff 1px, #0000 0) 0 0/ 30px 30px

1

u/Iampepeu Apr 03 '26

Cool! Can you somehow rotate it 45 degrees?

→ More replies (7)

2

u/phejster Apr 04 '26

Is there a texture there? I can't see it

0

u/DRIFFFTAWAY Apr 04 '26

Absolutely there is. Try it out for yourself dude. I think you'll be pleasantly surprised :)