Last active
January 31, 2021 13:48
-
-
Save studiopress/6669115 to your computer and use it in GitHub Desktop.
Colored Content Boxes
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
/* Content Boxes | |
------------------------------------------------------------ */ | |
.content-box-blue, | |
.content-box-gray, | |
.content-box-green, | |
.content-box-purple, | |
.content-box-red, | |
.content-box-yellow { | |
margin: 0 0 25px; | |
overflow: hidden; | |
padding: 20px; | |
} | |
.content-box-blue { | |
background-color: #d8ecf7; | |
border: 1px solid #afcde3; | |
} | |
.content-box-gray { | |
background-color: #e2e2e2; | |
border: 1px solid #bdbdbd; | |
} | |
.content-box-green { | |
background-color: #d9edc2; | |
border: 1px solid #b2ce96; | |
} | |
.content-box-purple { | |
background-color: #e2e2f9; | |
border: 1px solid #bebde9; | |
} | |
.content-box-red { | |
background-color: #f9dbdb; | |
border: 1px solid #e9b3b3; | |
} | |
.content-box-yellow { | |
background-color: #fef5c4; | |
border: 1px solid #fadf98; | |
} |
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
<div class="content-box-blue">Enter content box text here.</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i want to set the box in row wise , having 3 boxes in 1 row and some test outside three boxes