Created
March 31, 2021 17:03
-
-
Save frensuren/aa7226eb5a7455dfb8d9d99b410eba8e to your computer and use it in GitHub Desktop.
// source https://jsbin.com/bojicuh
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
<!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> |
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
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