Skip to content

Instantly share code, notes, and snippets.

@Swiip
Last active May 17, 2018 09:07
Show Gist options
  • Save Swiip/bc010e0c9efafcea4bd10d89118fa03d to your computer and use it in GitHub Desktop.
Save Swiip/bc010e0c9efafcea4bd10d89118fa03d to your computer and use it in GitHub Desktop.
const white = alpha => `rgba(255, 255, 255, ${alpha})`;
const BB8 = styled.div`
background-image:
radial-gradient(circle at 58px 32px, ${white(0.9)} 2px, transparent 3px)
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment