Skip to content

Instantly share code, notes, and snippets.

@frensuren
Created March 31, 2021 17:03
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 frensuren/aa7226eb5a7455dfb8d9d99b410eba8e to your computer and use it in GitHub Desktop.
Save frensuren/aa7226eb5a7455dfb8d9d99b410eba8e to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
padding: 100px;
}
.diamond {
margin: 0 auto;
width: 50px;
height: 50px;
background: red;
transform: rotate(45deg);
}
</style>
</head>
<body>
<div class="diamond"></div>
<script id="jsbin-source-css" type="text/css">body {
padding: 100px;
}
.diamond {
margin: 0 auto;
width: 50px;
height: 50px;
background: red;
transform: rotate(45deg);
}</script>
</body>
</html>
body {
padding: 100px;
}
.diamond {
margin: 0 auto;
width: 50px;
height: 50px;
background: red;
transform: rotate(45deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment