Skip to content

Instantly share code, notes, and snippets.

@russgossett
Forked from anonymous/index.html
Created February 14, 2013 16:49
Show Gist options
  • Save russgossett/4954172 to your computer and use it in GitHub Desktop.
Save russgossett/4954172 to your computer and use it in GitHub Desktop.
Pure CSS Album/Record
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="record"></div>
<!--div class="songlist-img-wrap" style="height: 60px;width: 60px;background: #363636;overflow: hidden;position: relative;border-radius:4px;">
<div class="outerCirc" style="height: 50%;width: 50%;border: 16px solid #272727;border-radius: 50%;">
<div class="innerCirc" style="height: 25%;width: 25%;border: 10px solid #272727;border-radius: 50%;margin: 4%;"></div>
</div>
</div-->
</body>
</html>
.record {
position: relative;
background-color: #363636;
width: 60px;
height:60px;
overflow:hidden;
}
.record::before {
position: absolute;
content: "";
width: 4px;
height: 4px;
background: #363636;
border-radius: 50%;
opacity: 1;
box-shadow: 0 0 0 1px #363636, 0 0 0 10px #272727,
0 0 0 12px #363636, 0 0 0 28px #272727;
top: 29px;
left: 29px;
}
@russgossett
Copy link
Author

pure CSS record

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment