add css file and change html

This commit is contained in:
Salih Hasicic 2026-03-12 11:06:30 +01:00
parent e8c560ecc7
commit 0a2eb9b99b
2 changed files with 51 additions and 6 deletions

43
salih-hasicic-app.css Normal file
View File

@ -0,0 +1,43 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #74ebd5, #9face6);
padding: 20px;
}
.card {
background: rgba(255, 255, 255, 0.15);
padding: 40px 30px;
border-radius: 20px;
text-align: center;
color: white;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
max-width: 700px;
width: 100%;
}
h1 {
font-size: 2.5rem;
margin-bottom: 20px;
}
h2 {
font-size: 1.5rem;
margin-bottom: 15px;
font-weight: 400;
}
h3 {
font-size: 1.1rem;
font-weight: 300;
opacity: 0.9;
}

View File

@ -1,14 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="de">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title> <title>Meine Webseite</title>
<link rel="stylesheet" href="salih-hasicic-app.css">
</head> </head>
<body> <body>
<div class="card">
<h1>Das ist meine hunderste Webseite</h1> <h1>Das ist meine hunderste Webseite</h1>
<h2>Schön da du da bist!</h2> <h2>Schön, dass du da bist!</h2>
<h3>Have fun on here</h3> <h3>Have fun on here</h3>
</div>
</body> </body>
</html> </html>