Skip to content

Instantly share code, notes, and snippets.

@nodorgrom
Created December 12, 2018 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nodorgrom/30d399b57751f9fd68edb15717b78d96 to your computer and use it in GitHub Desktop.
Save nodorgrom/30d399b57751f9fd68edb15717b78d96 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/xeterozawo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.flexbox-wrapper{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 400px;
height: 400px;
background-color: rgba(0,0,0,.2);
}
</style>
</head>
<body>
<div class="flexbox-wrapper">
<div>Lorem ipsum dolor sit...</div>
</div>
<script id="jsbin-source-css" type="text/css">.flexbox-wrapper{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 400px;
height: 400px;
background-color: rgba(0,0,0,.2);
}</script>
</body>
</html>
.flexbox-wrapper{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 400px;
height: 400px;
background-color: rgba(0,0,0,.2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment