Skip to content

Commit

Permalink
added checkerboad as bg for svg graphics anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgLegato committed Mar 27, 2023
1 parent ba6cf8e commit 6bcee08
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@
height:100vh;
overflow: hidden;
}

img[src$=".svg"], img[src^="data:image/svg"] {
/* background: white; */

background-image:
linear-gradient(45deg, rgba(255,255,255,.2) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.2) 75%, rgba(255,255,255,.2)),
linear-gradient(45deg, rgba(255,255,255,.2) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.2) 75%, rgba(255,255,255,.2));
background-size: 20px 20px;
background-position: 0 0, 10px 10px;

}

0 comments on commit 6bcee08

Please sign in to comment.