diff --git a/.DS_Store b/.DS_Store index d66bb45..85b918c 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/assets/.DS_Store b/assets/.DS_Store index 4bd849b..5a2e5db 100644 Binary files a/assets/.DS_Store and b/assets/.DS_Store differ diff --git a/assets/css/style.css b/assets/css/style.css index 81da02a..e6650dc 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -580,4 +580,34 @@ img { .footer .main .copyright { padding-top: 100px; +} + + +/* ======================================================================================================================= +==================================================================== portfolio page css starts from here +========================================================================================================================= */ + + +/* ====================================== +======== portfolio section css starts from here +========================================= */ + + +.portfolio .portfolio_slider .hidden { + display: none; +} + +.portfolio .portfolio_slider .active { + display: block; +} + +.portfolio .portfolio_slider .active-button { + background-color: #007bff; + color: #fff; +} + +.portfolio .portfolio_slider .topbar button { + padding: 8px 25px; + border-radius: 25px; + border: 0; } \ No newline at end of file diff --git a/assets/js/index.js b/assets/js/index.js index 98be0c3..4183ff9 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -100,3 +100,26 @@ const sliderContainer = document.getElementById('slider-container'); sliderContainer.addEventListener('mouseenter', stopAutoplay); sliderContainer.addEventListener('mouseleave', startAutoplay); + + +// ============================= +// portfolio slider js +// ========================== + + +// function PshowDiv(divNumber) { +// for (let i = 11; i <= 14; i++) { +// const Pdiv = document.getElementById(`div${i}`); +// const Pbutton = document.getElementById(`btn${i}`); + +// if (i === divNumber) { +// Pdiv.classList.add('active'); +// Pdiv.classList.remove('hidden'); +// Pbutton.classList.add('active-button'); +// } else { +// Pdiv.classList.remove('active'); +// Pdiv.classList.add('hidden'); +// Pbutton.classList.remove('active-button'); +// } +// } +// } diff --git a/index.html b/index.html index 629be21..d388181 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ Service