neu
This commit is contained in:
parent
6c2579292e
commit
3b0b4e2273
65
index.html
65
index.html
@ -84,6 +84,69 @@
|
||||
|
||||
|
||||
|
||||
<a href="/programmieren/spiele/"><img src="/icons/meine-spiele.png" height="100vh"></a>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Button Beispiel</title>
|
||||
<style>
|
||||
body, html {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bg-gradient {
|
||||
background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
|
||||
padding: 4px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 4px;
|
||||
border-radius: 12px;
|
||||
background: linear-gradient(to bottom, gray, #4d4d4d);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.7);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.6);
|
||||
}
|
||||
|
||||
.button:active {
|
||||
box-shadow: 0 0px 1px rgba(0,0,0,0.8);
|
||||
transform: scale(0.995);
|
||||
}
|
||||
|
||||
.button-inner {
|
||||
background: linear-gradient(to bottom, #4d4d4d, gray);
|
||||
border-radius: 8px;
|
||||
padding: 8px 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.button-text {
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg-gradient">
|
||||
<button class="button" onclick="window.location.href='/programmieren/spiele/'">
|
||||
<div class="button-inner">
|
||||
<span class="button-text">Get Started</span>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user