HTML CSS sauber

This commit is contained in:
JoulianALS 2024-04-18 16:47:57 +02:00
parent b2b7cfaef7
commit 9d862eea57
2 changed files with 54 additions and 60 deletions

View File

@ -4,7 +4,7 @@
height: 70px; height: 70px;
} }
.navbar .navbar-nav .nav-link { /* Schrift für Nav-Links ändern */ .navbar .navbar-nav .nav-link {
color: #FFFFFF; color: #FFFFFF;
font-size: 13pt; font-size: 13pt;
} }
@ -17,7 +17,7 @@
padding-left: 10px; padding-left: 10px;
} }
.nav-link.selected::after { /* Über uns startet mit den Grünen-Nav-Strichen */ .nav-link.selected::after {
visibility: visible; visibility: visible;
transform: scaleX(1); transform: scaleX(1);
} }
@ -28,7 +28,7 @@
color: #FFFFFF; color: #FFFFFF;
} }
.nav-link { /* Animation für das die Links */ .nav-link {
position: relative; position: relative;
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
} }
@ -80,7 +80,6 @@ section {
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
/* Animation */
scale: .8; scale: .8;
opacity: 0; opacity: 0;
animation: fade-in linear forwards; animation: fade-in linear forwards;

View File

@ -32,12 +32,10 @@
<!-- Über Uns Section --> <!-- Über Uns Section -->
<section class="position-relative" id="ueberUns"> <section class="position-relative" id="ueberUns">
<div class="position-absolute top-50 start-50 translate-middle w-50 text-white"> <div class="position-absolute top-50 start-50 translate-middle w-50 text-white">
<!-- Slider on the left -->
<div class="row align-items-center"> <div class="row align-items-center">
<div class="col"> <div class="col">
<div class="swiper rounded-4"> <div class="swiper rounded-4">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide"><img src="Src/loewe.jpg" class="img-fluid" alt="Loewe"></div> <div class="swiper-slide"><img src="Src/loewe.jpg" class="img-fluid" alt="Loewe"></div>
<div class="swiper-slide"><img src="Src/gorilla.jpg" class="img-fluid" alt="Gorilla"></div> <div class="swiper-slide"><img src="Src/gorilla.jpg" class="img-fluid" alt="Gorilla"></div>
<div class="swiper-slide"><img src="Src/zebra.jpg" class="img-fluid" alt="Zebra"></div> <div class="swiper-slide"><img src="Src/zebra.jpg" class="img-fluid" alt="Zebra"></div>
@ -48,7 +46,6 @@
</div> </div>
</div> </div>
<div class="col"> <div class="col">
<!-- Text on the right -->
<h2>Über Uns</h2> <h2>Über Uns</h2>
<p>Wir sind der beste Zoo aller Zoos Weltweit.<br> <p>Wir sind der beste Zoo aller Zoos Weltweit.<br>
Finanziert von the only and only Herrn Shawn Smith.</p> Finanziert von the only and only Herrn Shawn Smith.</p>
@ -88,7 +85,6 @@
</section> </section>
<!-- Patenshop Section --> <!-- Patenshop Section -->
<!-- Patenshop Section -->
<section id="patenshop" class="container-fluid position-relative"> <section id="patenshop" class="container-fluid position-relative">
<div class="row justify-content-center position-absolute top-50 start-50 translate-middle"> <div class="row justify-content-center position-absolute top-50 start-50 translate-middle">
<div class="col-md-8"> <div class="col-md-8">
@ -141,7 +137,6 @@
</div> </div>
</section> </section>
<!-- Footer --> <!-- Footer -->
<footer class="container-fluid position-relative"> <footer class="container-fluid position-relative">
<div class="position-absolute top-50 start-50 translate-middle"> <div class="position-absolute top-50 start-50 translate-middle">