Skip to content

Instantly share code, notes, and snippets.

@alexbruno
Created July 8, 2022 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexbruno/486aa28e4543fdb28626cf8f382dbc09 to your computer and use it in GitHub Desktop.
Save alexbruno/486aa28e4543fdb28626cf8f382dbc09 to your computer and use it in GitHub Desktop.
Regra simples de CSS para criar um efeito de máscara de pixels em uma imagem de background
.bg-pixels {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpi2r9//38gYGAEESAAEGAAasgJOgzOKCoAAAAASUVORK5CYII=);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment