add comments for better understanding
This commit is contained in:
parent
7b1091d084
commit
cfe7237bf8
@ -116,6 +116,8 @@
|
|||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------- */
|
||||||
|
|
||||||
/* SECTIONS */
|
/* SECTIONS */
|
||||||
.section {
|
.section {
|
||||||
padding: 28px 20px 10px;
|
padding: 28px 20px 10px;
|
||||||
@ -135,6 +137,8 @@
|
|||||||
color: #1d1d1d;
|
color: #1d1d1d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------- */
|
||||||
|
|
||||||
/* GRID */
|
/* GRID */
|
||||||
.product-grid {
|
.product-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -184,7 +188,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.product-image {
|
.product-image {
|
||||||
width: 100%;
|
width: 100%; /* Angepasst auf Card */
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
height: auto;
|
height: auto;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
@ -212,6 +216,8 @@
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------- */
|
||||||
|
|
||||||
/* DISCOVERY */
|
/* DISCOVERY */
|
||||||
.discovery-section {
|
.discovery-section {
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -267,6 +273,8 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------- */
|
||||||
|
|
||||||
/* RESPONSIVE */
|
/* RESPONSIVE */
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
.hero {
|
.hero {
|
||||||
@ -326,4 +334,8 @@
|
|||||||
.product-card {
|
.product-card {
|
||||||
min-height: 320px;
|
min-height: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------- */
|
||||||
@ -1,5 +1,6 @@
|
|||||||
import "./App.css";
|
import "./App.css";
|
||||||
|
|
||||||
|
//Images for the grid
|
||||||
const perfumes = [
|
const perfumes = [
|
||||||
{
|
{
|
||||||
id: "01",
|
id: "01",
|
||||||
@ -48,7 +49,9 @@ const perfumes = [
|
|||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<div className="page">
|
<div className="page">
|
||||||
|
{/* Hero */}
|
||||||
<header className="hero">
|
<header className="hero">
|
||||||
|
{/* Navbar */}
|
||||||
<nav className="navbar">
|
<nav className="navbar">
|
||||||
<div className="nav-pill">
|
<div className="nav-pill">
|
||||||
<a href="#home" className="nav-link active">
|
<a href="#home" className="nav-link active">
|
||||||
@ -89,6 +92,7 @@ function App() {
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
{/* Grid with Core Collection */}
|
||||||
<section className="section" id="dufte">
|
<section className="section" id="dufte">
|
||||||
<div className="section-heading">
|
<div className="section-heading">
|
||||||
<h2>
|
<h2>
|
||||||
@ -120,6 +124,7 @@ function App() {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="discovery-section" id="testen">
|
<section className="discovery-section" id="testen">
|
||||||
|
{/* Dicovery Set Section */}
|
||||||
<div className="discovery-copy">
|
<div className="discovery-copy">
|
||||||
<h2>
|
<h2>
|
||||||
DER SICHERE EINSTIEG
|
DER SICHERE EINSTIEG
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user