Created
March 31, 2021 17:01
-
-
Save frensuren/c6b27519402d9d3b64e354803e7f76b5 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
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"> | |
.triangle { | |
border-left: 50px solid red; | |
border-bottom: 50px solid transparent; | |
border-top: 50px solid transparent; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="triangle"></div> | |
<script id="jsbin-source-css" type="text/css">.triangle { | |
border-left: 50px solid red; | |
border-bottom: 50px solid transparent; | |
border-top: 50px solid transparent; | |
}</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
.triangle { | |
border-left: 50px solid red; | |
border-bottom: 50px solid transparent; | |
border-top: 50px solid transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment