A simple Flask server that displays a unicode playing card. I made this as part of a little card trick for a friend's birthday.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
405 B

<!doctype html>
<html>
<head>
<style>
body { animation: fadein {{ fadein_seconds }}s; }
p {
color: {{ color }};
font-size: 30vh;
font-family: symbola, sans-serif, monospace;
text-align: center;
overflow: hidden;
}
@keyframes fadein { 0% { filter: blur(90vh); } }
</style>
</head>
<body>
<p>{{ card }}</p>
</body>
</html>