2ちゃんねる ■掲示板に戻る■ 全部 1- 最新50    

■ このスレッドは過去ログ倉庫に格納されています

twigでfnfを作ろうぜ

1 :ハザマさんだナ:2024/07/11(木) 06:58:18.75 ID:75nYQswts
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8"><meta name="viewport"content="width=device-width, initial-scale=1.0">
<title>Friday Night Funkin'</title><style>
body {background-color: #000;
color: #fff;font-family: Arial, sans-serif;text-align: center;}
.game-screen {display: flex;justify-content: center;
align-items: center;height: 80vh;}
.game-wrapper {width: 80%;max-width: 600px;
border: 2px solid #fff;padding: 20px;
background-color: #444;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);}
.game-title {font-size: 2em;margin-bottom: 20px;}
.game-controls {margin-top: 20px;}
.button {display: inline-block;padding: 10px 20px;
background-color: #777;color: #fff;text-decoration: none;
border-radius: 5px;margin: 0 10px;
cursor: pointer;transition: background-color 0.3s ease;}
.button:hover {background-color: #555;}
</style></head><body><div class="game-screen">
<div class="game-wrapper"><h1 class="game-title">Friday Night Funkin'</h1>
<p>Press the buttons to play!</p>
<div class="game-controls">
<a href="#" class="button">Left</a><a href="#" class="button">Up</a>
<a href="#" class="button">Down</a><a href="#" class="button">Right</a>
</div></div></div></body></html>
<?php
require_once 'vendor/autoload.php';
$loader = new \Twig\Loader\FilesystemLoader('./templates');
$twig = new \Twig\Environment($loader);
?>

総レス数 1
2 KB
掲示板に戻る 全部 前100 次100 最新50
read.cgi ver.24052200