Skip to content

Instantly share code, notes, and snippets.

@jzwang-dev
Created February 9, 2021 11:18
Show Gist options
  • Save jzwang-dev/e159a37ce69bb30c05e720c33abf5b89 to your computer and use it in GitHub Desktop.
Save jzwang-dev/e159a37ce69bb30c05e720c33abf5b89 to your computer and use it in GitHub Desktop.
diagonal background image
th.diagonal {
width: 150px;
height: 50px;
box-sizing: border-box;
background: url(diagonal.jpg) no-repeat center;
background-size: 150px 50px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment