0% found this document useful (0 votes)
2 views

style.css

The document contains CSS styles for a web page, defining the layout and appearance of various elements such as the body, headings, paragraphs, and image sliders. It includes styles for a slider component with transitions for slides and buttons for navigation. The overall design emphasizes a clean and centered layout with responsive features.

Uploaded by

Matheus Henrique
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

style.css

The document contains CSS styles for a web page, defining the layout and appearance of various elements such as the body, headings, paragraphs, and image sliders. It includes styles for a slider component with transitions for slides and buttons for navigation. The overall design emphasizes a clean and centered layout with responsive features.

Uploaded by

Matheus Henrique
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

body {

background-color: #f2f2f2;
margin: 0;
font-family: Arial,sans-serif;
}

body h1{
background-color: #208418;
margin: 0;
height: 10vh;
text-align: center;
}

p{
color: #000000
}

h1 {
text-align: center;
height: 6vh;
}

h2 {
text-align: center;

.imagem1 {
height: 60px;
width: 60px;

.slider {
width: 100%;
height: 400px;
position: relative;
overflow: hidden;
}

.slide {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: opacity 1s ease-in-out;
}

.slide.active {
opacity: 1;
}

.slide img {
width: 100%;
height: 100%;
}

.btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 1;
cursor: pointer;
font-size: 20px;
color: #fff;
background: rgba(0,0,0,0.5);
padding: 10px 20px;
border-radius: 5px;
transition: background 0.3s ease-in-out;
}

.btn:hover {
background: rgba(0, 0, 0, 0.7);
}

.btn.prev {
left: 10px;
}

.btn.next {
right: 10px;
}

You might also like