add comments for better understanding part 2
This commit is contained in:
parent
cfe7237bf8
commit
fa756a8c67
@ -4,6 +4,20 @@
|
|||||||
color: #1f1f1f;
|
color: #1f1f1f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Hallo im CSS,
|
||||||
|
damit ihr euch hier nicht durch einen wilden Haufen aus Klassen kämpfen müsst,
|
||||||
|
versuche ich die Bereiche sauber zu kommentieren. So ist schneller sichtbar,
|
||||||
|
welche Styles wohin gehören und wo welche Section anfängt.
|
||||||
|
|
||||||
|
Euer Freund und Helfer Salih
|
||||||
|
|
||||||
|
Bei Bugs, Verzweiflung oder akuten CSS-Zusammenbrüchen lesen Sie https://stackoverflow.com/questions
|
||||||
|
oder fragen Sie Salih oder eine KI Ihres Vertrauens.
|
||||||
|
|
||||||
|
Erreichbar unter salih.hasicic@stud.fhgr.ch oder telefonisch, fall Sie die Nummer haben*/
|
||||||
|
|
||||||
|
|
||||||
/* HERO */
|
/* HERO */
|
||||||
.hero {
|
.hero {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -24,6 +38,8 @@
|
|||||||
linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45));
|
linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* NAVBAR */
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
@ -55,6 +71,8 @@
|
|||||||
background: rgba(255, 255, 255, 0.22);
|
background: rgba(255, 255, 255, 0.22);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------- */
|
||||||
|
|
||||||
.hero-content {
|
.hero-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|||||||
@ -1,6 +1,20 @@
|
|||||||
import "./App.css";
|
import "./App.css";
|
||||||
|
|
||||||
//Images for the grid
|
// Hallo im Code,
|
||||||
|
// ich streue hier bewusst Kommentare ein, damit ihr euch nicht auf eine jahrlange
|
||||||
|
// archäologische Expedition begeben müsst. So bleibt besser sichtbar, wo
|
||||||
|
// einzelne Sections anfangen und aufhören und wo wichtige Elemente oder
|
||||||
|
// Funktionen liegen.
|
||||||
|
|
||||||
|
// Euer Freund und Helfer Salih
|
||||||
|
|
||||||
|
// Bei Bugs, kleinen Krisen oder emotionalem Kontrollverlust bitte
|
||||||
|
// https://stackoverflow.com/questions konsultieren
|
||||||
|
// oder fragen Sie Salih oder eine KI Ihres Vertrauens.
|
||||||
|
|
||||||
|
//Erreichbar unter salih.hasicic@stud.fhgr.ch oder telefonisch, falls ihr die Nummer habt*/
|
||||||
|
|
||||||
|
//Elements and Images for the grid
|
||||||
const perfumes = [
|
const perfumes = [
|
||||||
{
|
{
|
||||||
id: "01",
|
id: "01",
|
||||||
@ -68,7 +82,7 @@ function App() {
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
{/* --- Navbar End --- */}
|
||||||
<div className="hero-overlay" />
|
<div className="hero-overlay" />
|
||||||
|
|
||||||
<div className="hero-content">
|
<div className="hero-content">
|
||||||
@ -90,6 +104,7 @@ function App() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
{/* --- Hero End --- */}
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
{/* Grid with Core Collection */}
|
{/* Grid with Core Collection */}
|
||||||
@ -122,9 +137,10 @@ function App() {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
{/* --- Grid End --- */}
|
||||||
|
|
||||||
<section className="discovery-section" id="testen">
|
|
||||||
{/* Dicovery Set Section */}
|
{/* Dicovery Set Section */}
|
||||||
|
<section className="discovery-section" id="testen">
|
||||||
<div className="discovery-copy">
|
<div className="discovery-copy">
|
||||||
<h2>
|
<h2>
|
||||||
DER SICHERE EINSTIEG
|
DER SICHERE EINSTIEG
|
||||||
@ -148,6 +164,7 @@ function App() {
|
|||||||
<button className="banner-btn">Discovery Set bestellen</button>
|
<button className="banner-btn">Discovery Set bestellen</button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
{/* --- Dicovery Set Section End--- */}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user