帮我用html写一个防火墙拦截页面要求是二次元风格能够显示访问者IP。
<!DOCTYPE html>
<html>
<head>
<title>防火墙拦截页面</title>
<style>
body {
background-color: #202020;
color: #fff;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
padding: 20px;
text-align: center;
}
h1 {
font-size: 48px;
margin-bottom: 20px;
text-transform: uppercase;
}
img {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}
p {
margin-bottom: 20px;
}
.ip {
font-size: 24px;
font-weight: bold;
margin-top: 20px;
}
</style>
</head>
<body>
<h1>防火墙拦截页面</h1>
<img src="https://i.imgur.com/6zV4L4v.png" alt="二次元风格图片">
<p>您的访问被防火墙拦截了!请联系管理员解决问题。</p>
<p>您的IP地址是:<span class="ip"><?php echo $_SERVER['REMOTE_ADDR']; ?></span></p>
</body>
</html
原文地址: https://www.cveoy.top/t/topic/g8lj 著作权归作者所有。请勿转载和采集!