-
-
Save russgossett/4954172 to your computer and use it in GitHub Desktop.
Pure CSS Album/Record
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pure CSS record