Last active
July 31, 2020 04:26
-
-
Save tallysmartins/3048946388cd3b24db150d486d811689 to your computer and use it in GitHub Desktop.
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> | |
<style> | |
.square { | |
border-radius: 6px; | |
padding: 10px; | |
background: #A2A6A6; | |
width: 80px; | |
height: 80px; | |
} | |
.circle { | |
background: #CCCECF; | |
border-radius: 76px; | |
width: inherit; | |
height: inherit; | |
} | |
.circle:after { | |
position: absolute; | |
content: ""; | |
height: 15px; | |
width: 15px; | |
border-top: 3px solid #807F93; | |
border-right: 3px solid #807F93; | |
border-radius: 2px; | |
transform: rotate(45deg); | |
top: 45px; | |
left: 45px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="square"> | |
<div class="circle"> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment