|
|
@@ -0,0 +1,76 @@
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+
|
|
|
+<style>
|
|
|
+
|
|
|
+@font-face {
|
|
|
+ font-family: "Raleway";
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 400;
|
|
|
+ src: local("Raleway"), url("http://fonts.gstatic.com/s/raleway/v9/0dTEPzkLWceF7z0koJaX1A.woff2") format("woff2");
|
|
|
+}
|
|
|
+
|
|
|
+body {
|
|
|
+ padding-top: 200px;
|
|
|
+ margin: 0;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ font-family: Raleway;
|
|
|
+ font-size: 32px;
|
|
|
+ background-color: #0E83CD;
|
|
|
+}
|
|
|
+
|
|
|
+a {
|
|
|
+ display: inline-block;
|
|
|
+ position: relative;
|
|
|
+ text-decoration: none;
|
|
|
+ color: #0972B4;
|
|
|
+ border-width: 0;
|
|
|
+ border-style: solid;
|
|
|
+ border-top-width: 3px;
|
|
|
+ border-color: #0972B4;
|
|
|
+ padding: 10px 0;
|
|
|
+ margin: 30px;
|
|
|
+}
|
|
|
+
|
|
|
+a:hover {
|
|
|
+ color: #0972B4;
|
|
|
+}
|
|
|
+
|
|
|
+a:hover::before {
|
|
|
+ max-width: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+a:active {
|
|
|
+ color: #0972B4;
|
|
|
+}
|
|
|
+
|
|
|
+a::before {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ content: attr(data-hover);
|
|
|
+ color: white;
|
|
|
+ max-width: 0px;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 10px 0;
|
|
|
+ border-width: 0;
|
|
|
+ border-style: solid;
|
|
|
+ border-bottom-width: 3px;
|
|
|
+ border-color: white;
|
|
|
+ transition: max-width 0.5s ease 0s;
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|
|
|
+
|
|
|
+</head>
|
|
|
+
|
|
|
+<body>
|
|
|
+
|
|
|
+<a href="#" data-hover="Katja">Katja</a>
|
|
|
+<a href="#" data-hover="Johannes">Johannes</a>
|
|
|
+<a href="#" data-hover="Dieter">Dieter</a>
|
|
|
+<a href="#" data-hover="Margarethe">Margarethe</a>
|
|
|
+
|
|
|
+</body>
|
|
|
+</html>
|