Created
February 7, 2017 16:33
-
-
Save StephenFluin/b921dfd145c9a9370f9fe4836092e352 to your computer and use it in GitHub Desktop.
Some CSS for the CLI box
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<style> | |
.browser { | |
border-radius:0 0 10px 10px; | |
display:flex; | |
flex-direction:column; | |
overflow:hidden; | |
box-sizing: border-box; | |
box-shadow: 0px 1px 2px #888888; | |
} | |
.header { | |
background-color: #d5d5d5; | |
padding-left:16px; | |
} | |
.code { | |
background-color:#1e1e1e; | |
color:white; | |
padding:16px 32px; | |
line-height:32px; | |
} | |
.browser-button { | |
width:16px; | |
height:16px; | |
display: inline-block; | |
border-radius:16px; | |
margin:8px 4px; | |
box-shadow: 0px 1px 2px #888888; | |
} | |
.red { | |
background-color:#ff6057 | |
} | |
.yellow { | |
background-color: #ffc22e; | |
} | |
.green { | |
background-color: #28ca40; | |
}</style> | |
<div class="browser"> | |
<div class="header"> | |
<div class="browser-button red"> </div> | |
<div class="browser-button yellow"> </div> | |
<div class="browser-button green"> </div> | |
</div> | |
<div class="code"> | |
<pre>> npm install -g @angular/cli | |
> ng new my-dream-app | |
> cd my-dream-app | |
> ng serve</pre> | |
</div> | |
</div | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment