by Anonymous » 25 Aug 2025, 08:33
Der gesamte Inhalt wird in einer Containerklasse, bei der 6REM -Polster für die linke und rechte Seite hinzugefügt wird. Im Container habe ich einen Abschnitt namens USP -Abschnitt. Dieser Abschnitt hat eine Hintergrundfarbe und ich möchte, dass diese Farbe die volle Breite einstellt. < /P>
Wie kann ich das mit CSS tun?
Code: Select all
.container {
padding: 0rem 6rem;
}
.intro,
.destinations {
border: 1px solid red;
}
.usp-section {
background-color: #c2b280;
padding: 1rem 0rem;
}< /code>
Document
Welcome to Our Website
Discover amazing places to visit and unique experiences.
Unique Selling Points
Discover what makes us stand out from the competition.
Featured Destinations
Explore our top-rated destinations handpicked just for you.
Der gesamte Inhalt wird in einer Containerklasse, bei der 6REM -Polster für die linke und rechte Seite hinzugefügt wird. Im Container habe ich einen Abschnitt namens USP -Abschnitt. Dieser Abschnitt hat eine Hintergrundfarbe und ich möchte, dass diese Farbe die volle Breite einstellt. < /P>
Wie kann ich das mit CSS tun?[code].container {
padding: 0rem 6rem;
}
.intro,
.destinations {
border: 1px solid red;
}
.usp-section {
background-color: #c2b280;
padding: 1rem 0rem;
}< /code>
Document
Welcome to Our Website
Discover amazing places to visit and unique experiences.
Unique Selling Points
Discover what makes us stand out from the competition.
Featured Destinations
Explore our top-rated destinations handpicked just for you.
[/code]