Skip to content

Instantly share code, notes, and snippets.

Created November 8, 2016 12:39
Show Gist options
  • Save anonymous/5268e1e53b970c7543871cb2419373a3 to your computer and use it in GitHub Desktop.
Save anonymous/5268e1e53b970c7543871cb2419373a3 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/dihucajela
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.box {
display: block;
color: white;
font-size: 80px;
text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}
.box1 {
background: LightCoral;
}
.box2 {
background: Crimson;
}
.box3 {
background: DeepPink;
}
.box4 {
background: Tomato;
}
.box5 {
background: Gold;
}
.box6 {
background: Khaki;
}
.box7 {
background: Lavender;
}
.box8 {
background: Fuchsia;
}
.box9 {
background: PaleGreen;
}
.box10 {
background: YellowGreen;
}
.container {
display: flex;
border: 10px solid goldenrod;
height: 200px;
justify-content: space-between;
}
</style>
</head>
<body>
<div class="container">
<div class="box box1">1</div>
<div class="box box2">2</div>
<div class="box box3">3</div>
<div class="box box4">4</div>
<div class="box box5">5</div>
<!-- <div class="box box6">6</div>
<div class="box box7">7</div>
<div class="box box8">8</div>
<div class="box box9">9</div>
<div class="box box10">10</div> -->
</div>
<script id="jsbin-source-css" type="text/css">.box {
display: block;
color: white;
font-size: 80px;
text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}
.box1 { background: LightCoral;}
.box2 { background: Crimson; }
.box3 { background: DeepPink; }
.box4 { background: Tomato; }
.box5 { background: Gold; }
.box6 { background: Khaki; }
.box7 { background: Lavender; }
.box8 { background: Fuchsia; }
.box9 { background: PaleGreen }
.box10 { background: YellowGreen; }
.container {
display: flex;
border: 10px solid goldenrod;
height: 200px;
justify-content: space-between
}</script>
</body>
</html>
.box {
display: block;
color: white;
font-size: 80px;
text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}
.box1 {
background: LightCoral;
}
.box2 {
background: Crimson;
}
.box3 {
background: DeepPink;
}
.box4 {
background: Tomato;
}
.box5 {
background: Gold;
}
.box6 {
background: Khaki;
}
.box7 {
background: Lavender;
}
.box8 {
background: Fuchsia;
}
.box9 {
background: PaleGreen;
}
.box10 {
background: YellowGreen;
}
.container {
display: flex;
border: 10px solid goldenrod;
height: 200px;
justify-content: space-between;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment