Skip to content

Commit

Permalink
Merge pull request #1003 from PatelHarsh2006/harshmain2
Browse files Browse the repository at this point in the history
CHANGED the Slider Button Position and changed the DOTS COLOR making it GOOD LOOKING
  • Loading branch information
ankit071105 authored Nov 6, 2024
2 parents 6e8882a + a6392ec commit 7b5dda0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,10 @@ p {

.nav-buttons {
position: absolute;
top: 35%;
width: 100%;
top: 90%;
width: 50%;
display: flex;
margin-left: 25%;
justify-content: space-between;
transform: translateY(-50%);
}
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ <h2>What type of transportation do you prefer for your travels?</h2>


<div class="nav-buttons">
<button class="prev" onclick="prevSlide()" style="width: 45px; height: 45px;">&#10094;</button>
<button class="next" onclick="nextSlide()" style="width: 45px; height: 45px;">&#10095;</button>
<button class="prev" onclick="prevSlide()" style="width: 80px; height: 80px;">&#10094;</button>
<button class="next" onclick="nextSlide()" style="width: 80px; height: 80px;">&#10095;</button>
</div>

<div class="social-sidebar">
Expand Down
4 changes: 2 additions & 2 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ body {

.prev,
.next {
background-color: rgb(53 48 48 / 80%); /* Semi-transparent background */
background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
border: none;
border-radius: 50%;
cursor: pointer;
outline: none;
padding: 0;
font-size: 23px;
font-size: 43px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: background-color 0.3s;
}
Expand Down
4 changes: 2 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ button:hover {
height: 10px;
width: 10px;
margin: 0 2px;
background-color: #bbb;
background-color: #ffffff;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
Expand All @@ -898,7 +898,7 @@ button:hover {
}
.slider-dot-active,
.dot:hover {
background-color: #717171;
background-color: #00e5ff;
}

.slider {
Expand Down

0 comments on commit 7b5dda0

Please sign in to comment.