Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8926799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:04:03+00:00 2026-06-15T08:04:03+00:00

Is it possible or is there a trick to make a background pixelated like

  • 0

Is it possible or is there a trick to make a background pixelated like the one in the image attached?

I use a background image, but as you can see it doesn’t scale and it flashs on page scrolling.

Enter image description here

Now I have CSS thanks to vlcekmi3:

background-color: white;
background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black),
    linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
background-size:100px 100px;
background-position: 0 0, 50px 50px;

But I’m unable to make it exactly like the image. Can someone check it?

Any code, resource, tutorial, and suggestion is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T08:04:05+00:00Added an answer on June 15, 2026 at 8:04 am

    Here’s the best I could come up with to match your image. It’s adapted from the example here by Lea Verou What will be your fallback for non css3 browsers?

    body {
        background-image: -moz-linear-gradient(45deg, #666 25%, transparent 25%), 
            -moz-linear-gradient(-45deg, #666 25%, transparent 25%), 
            -moz-linear-gradient(45deg, transparent 75%, #666 75%), 
            -moz-linear-gradient(-45deg, transparent 75%, #666 75%);
        background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, #666), color-stop(.25, transparent)), 
            -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #666), color-stop(.25, transparent)), 
            -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, #666)), 
            -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, #666));
        background-image: -webkit-linear-gradient(45deg, #666 25%, transparent 25%), 
            -webkit-linear-gradient(-45deg, #666 25%, transparent 25%), 
            -webkit-linear-gradient(45deg, transparent 75%, #666 75%), 
            -webkit-linear-gradient(-45deg, transparent 75%, #666 75%);
        background-image: -o-linear-gradient(45deg, #666 25%, transparent 25%), 
            -o-linear-gradient(-45deg, #666 25%, transparent 25%), 
            -o-linear-gradient(45deg, transparent 75%, #666 75%), 
            -o-linear-gradient(-45deg, transparent 75%, #666 75%);
        background-image: linear-gradient(45deg, #666 25%, transparent 25%), 
            linear-gradient(-45deg, #666 25%, transparent 25%), 
            linear-gradient(45deg, transparent 75%, #666 75%), 
            linear-gradient(-45deg, transparent 75%, #666 75%);
        -moz-background-size: 2px 2px;
        background-size: 2px 2px;
        -webkit-background-size: 2px 2.1px; /* override value for webkit */
        background-position: 0 0, 1px 0, 1px -1px, 0px 1px;
    }
    

    jsfiddle example

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Is there some ninja trick to make a variable constant after its
Is it possible that there are more than one certificate chain built during the
I wonder if it possible: to make a jdialog (which can be modal) with
I'm not sure if there is can be done with CSS, but wanted to
I can split editor panes horizontally or vertically, but it does not seem possible
Possible Duplicate: Use reflection to invoke an overridden base method Normally I can call
Is there possible, to have some projects under a certain user.name and user.email and
I was wondering ( if possible ) if there was a program/tool/utility that when
Is there any possible to connect .NET app with PHP? I means, PHP will
Is there a possible way to combine the if function and the isset function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.