JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div class="socialmediabuttons">
<img src="images/twitter.png">
<img src="images/tumblr.png">
<img src="images/youtube.png">
<img src="images/paypal.png">
</div>
<div>
<a href="index(experimentell4).html">
<img data-differentflag-src="images/german.svg" id="language" src="">
</a>
</div>
<div id="contactcard">Adresse, Telefonnumer It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a...
CSS
* {
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
min-width: 0;
min-height: 0;
z-index: 0
}
body {
margin: 0;
/*Scrollbalken verändern den body nicht*/
background-color: antiquewhite;
}
.grid {
display: grid;
grid-template-columns: 100%;
grid-template-rows: 35vh auto 5vh 45vh auto;
z-index: 0;
}
header {
grid-column: 1/2;
grid-row: 1/2;
background-image:url(../images/title_a.png);
background-color: aqua;
background-repeat: no-repeat;
background-size:cover
}
.headergrid {
display: grid;
grid-template-columns: repeat(10, 1fr);
grid-template-rows: repeat(10, 1fr);
}
/* Text oben links "blasehaseX.com"*/
.logo {
grid-column: 1/3;
grid-row: 1/2;
position: relative;
left: 5px;
top: 5px;
/*background-color: crimson*/
}
img {
}
.navigation1 {
grid-column: 7/11;
grid-row: 1/3;
position: relative;
top: 5px;
right: 5px;
/*background-color: cornflowerblue;*/
}
.ulnavigation1 {
display: grid;
grid-template-columns: auto auto auto auto ;
grid-template-rows: auto auto auto auto;
/*kein space zwischen den li Elementen*/
font-size: 0;
/*kein Umbruch*/
white-space: nowrap
}
#topnavi1 {
grid-column: 1/2;
grid-row: 1/2
}
#topnavi2 {
grid-column: 2/3;
grid-row: 1/2
}
#topnavi3 {
grid-column: 3/4;
grid-row: 1/2
}
#topnavi4 {
grid-column: 4/5;
grid-row: 1/2
}
#topnavi4_1 {
grid-column: 4/5;
grid-row: 2/3
}
/* Navigation (Menüpunkte) oben rechts*/
.ulnavigation1 li {
background-color: rgba(250, 235, 215, 0.2);
padding: 13px;
border: solid 1px white;
color:black;
text-align: center;
font-family: 'Raleway', sans-serif;
font-size: 12px;
cursor: pointer
}
.title {
grid-column: 5/7;
grid-row: 5/7;
align-self: center;
justify-self: center;
font-family: 'Raleway', sans-serif;
font-size: 1.6em;
color: white;
background-color: rgba(255, 255, 255, 0.15);
border: solid 1px white;
letter-spacing: 3px;
padding: 20px;
}
section {
grid-column: 1/2;
grid-row: 2/3;
background-color:...