Hallo! Ich habe eine kleine Webseite geschrieben, aber der CSS Code von den Buttons wird nicht übernommen. Weiß jemand warum?
HTML:
HTML:
<head>
<meta charset="utf-8"/>
<title>Manolol</title>
<link href="https://manolol.000webhostapp.com/styles/style.css" rel="stylesheet"/>
</head>
<body>
<center>
<h1 style="margin-top: 35px;">Welcome to the Manolol Homepage!</h1>
<br>
<h2>Click on the Links below to visit my projects!</h2>
<h2>
<a href="https://manolol.000webhostapp.com/manolopedia/index.html"><button class="button">Manolopedia (German)*</button></a>
<a href="https://manolol.000webhostapp.com/tcones/index.html"><button class="button">#trafficconesmatter</button></a>
</h2>
<p style="margin-top: 25px;">*This site is an exercise project for me. Don't expect too much.</p>
</center>
</body>
CSS:
CSS:
html {
font-family: Arial;
}
body {
background-color: rgb(226, 255, 172);
margin-left: 15px;
}
button {
font-size: 20px;
font-weight: bold;
padding: 2em 3em;
cursor: pointer;
}