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> | |
<style> | |
html { | |
height: 100%; | |
} | |
body { | |
display: flex; | |
height: 100%; | |
width: 100%; | |
margin: 0; |
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> | |
<style> | |
.animated { | |
animation: rotate 1s linear infinite; | |
} | |
@keyframes rotate { | |
from { transform: rotate(0turn) } | |
to { transform: rotate(1turn) } | |
} |
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> | |
<p>This is a repacked version of <a href="http://www.p01.org/MONOSPACE/">MONOSPACE by Mathieu 'p01' Henri</a>. | |
<p>Looks like Github Gist have some troubles with storing binary files. Please, <a id="run" target="_blank">Click here</button> to run. | |
<script> | |
fetch(` | |
data:text/html;base64, | |
iVBORw0KGgoAAAANSUhEUgAABj4AAAACCAAAAADNp/oNAAADyElEQVR4nACgAF//ADxDQU52YXMg | |
aWQ9Yz48aW1nIG9ubG9hZD1iPWMuZ2V0Q29udGV4dGAyZGA7Zm9yKHQ9bj0nJztlPWIuZ2V0SW1h |
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> | |
<script> | |
let singletonPromise; | |
function makeSomeRequest() { | |
if (!singletonPromise) { | |
singletonPromise = Promise.resolve('(Response from some request that only should be made once)') | |
} | |
return singletonPromise; | |
} |
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></head> | |
<body> | |
<canvas width="1080" height="1920"></canvas> | |
<script> | |
const blocks = [ | |
[0x2e80, 0x2eff], | |
[0x2f00, 0x2fdf], | |
[0x3000, 0x303f], |
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 lang="ru"> | |
<head> | |
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,600&family=Lobster&family=Roboto&display=swap" rel="stylesheet"> | |
<style> | |
body { | |
font-size: 28px; | |
line-height: 36px; | |
font-family: sans-serif; |
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> | |
<canvas id="a" width="500" height="500"></canvas> | |
<script> | |
const ctx = document.querySelector('canvas').getContext('2d'); | |
const font = new FontFace('Charting', 'local("SF Pro Display")', {featureSettings: '"tnum" on, "lnum" on'}); | |
document.fonts.add(font); | |
ctx.font = '42px Charting, sans-serif'; | |
ctx.fillText('11111|', 0, 50); |
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> | |
<link rel="dns-prefetch" href="https://s3.tradingview.com/"> | |
</head> | |
<body> | |
<script> | |
setTimeout(() => { | |
const s = document.createElement('script'); | |
s.src = 'https://s3.tradingview.com/tv.js'; |
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> | |
<style> | |
body { | |
font: 5vw sans-serif; | |
margin: 0; | |
} | |
section { | |
padding: 1em 0; |
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> | |
<style> | |
p > :last-child { | |
color: red; | |
} | |
</style> | |
</head> | |
<body> |
NewerOlder