Created
October 19, 2020 23:26
-
-
Save vampaynani/6d42285f88faae9cb77850805ffb2c6a to your computer and use it in GitHub Desktop.
Colors container
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
.colors-container { | |
overflow: hidden; | |
} | |
.color-container { | |
overflow: hidden; | |
float: left; | |
} | |
.color_circle { | |
display: block; | |
border-radius: 50%; | |
width: 24px; | |
height: 24px; | |
float: left; | |
margin: 0 8px; | |
} | |
.color_circle--blue { | |
background: var(--blue-color); | |
} | |
.color_circle--green { | |
background: var(--green-color); | |
} | |
.color_text { | |
font-style: normal; | |
font-weight: normal; | |
font-size: 14px; | |
line-height: 24px; | |
float: left; | |
margin: 0 8px; | |
} |
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
<section class="colors-container"> | |
<div class="color-container"> | |
<div class="color_circle color_circle--blue"></div> | |
<p class="color_text">blue #118AB2</p> | |
</div> | |
<div class="color-container"> | |
<div class="color_circle color_circle--green"></div> | |
<p class="color_text">green #06D6A0</p> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment