• Skip to main content
  • Skip to primary sidebar

Web Development Archive

  • Archive
You are here: Home / CSS / How to create raster grid above an image with css?

How to create raster grid above an image with css?

.raster-grid {
     background-image: repeating-radial-gradient(circle at center center, rgba(240, 243, 243, 0.11), rgba(240, 243, 243, 0.11) 1px, transparent 1px, transparent 100%), linear-gradient(0deg, rgba(24, 84, 179, 0.84) 0%, rgba(4, 35, 63, 0.94) 100%), url("https://yourdomain.com/img.jpg") !important;
     background-size: 3px 3px, auto, cover !important;
     background-position: 50% 50%, 50% 50%, 50% 50% !important;
     background-attachment: scroll, scroll, fixed !important;
     background-repeat: repeat, no-repeat, no-repeat !important;
 }

Filed Under: CSS Tagged With: filter

About Gabor Flamich

I'm a web developer and designer based in Budapest, Hungary. In recent years, I've documented hundreds of solutions I came across during development. This site is an archive for useful code snippets on WordPress, Genesis Framework and WooCommerce. If You have any questions related to WordPress development, get in touch!

Primary Sidebar

  • angular.io
© 2026 WP Flames - All Right Reserved