Skip to content

Instantly share code, notes, and snippets.

@danielsimao
Created May 25, 2020 18:51
Show Gist options
  • Save danielsimao/628e8659d01fba1d848e74724b602688 to your computer and use it in GitHub Desktop.
Save danielsimao/628e8659d01fba1d848e74724b602688 to your computer and use it in GitHub Desktop.
dots
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
.parent {
display: inline-flex;
}
.dot {
height: 25px;
width: 25px;
border-radius: 50%;
margin-right: -5px;
}
</style>
</head>
<body>
<div class="parent">
<span class="dot" style="background-color: red;"></span>
<span class="dot" style="background-color: purple;"></span>
<span class="dot" style="background-color: blue;"></span>
<span class="dot" style="background-color: yellow;"></span>
<span class="dot" style="background-color: red;"></span>
<span class="dot" style="background-color: purple;"></span>
<span class="dot" style="background-color: blue;"></span>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment