Skip to content

Instantly share code, notes, and snippets.

@airen
Created October 21, 2015 09:49
Show Gist options
  • Save airen/109a6e12feacd78f03bc to your computer and use it in GitHub Desktop.
Save airen/109a6e12feacd78f03bc to your computer and use it in GitHub Desktop.
PPEyRp
body {
background: url(https://unsplash.it/1920/760/?random) no-repeat center fixed;
background-size: cover;
}
div {
width: 200px;
height: 200px;
background-color: rgba(0,0,0,.5);
border-radius: 50%;
border: 2px solid rgba(255,255,255,.4);
box-shadow: 0px 0px 0px 2px rgba(0,0,0,.3);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment