File tree 3 files changed +31
-1
lines changed
3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,12 @@ <h3 id="name"></h3>
82
82
</ nav >
83
83
</ header >
84
84
85
+ <!--Button added by https://github.com/Mahimatestgithub-->
85
86
< section id ="home " class ="home ">
86
87
< h1 > Get IT Projects</ h1 >
87
88
< h2 > for Under Graduation and Post Graduation Students.</ h2 >
88
89
< h2 > B.E / BCA/ MCA / BSC-IT / etc.</ h2 >
90
+ < a href ="#projects " class ="explore-button "> Explore Projects</ a >
89
91
< div class ="wave wave1 "> </ div >
90
92
< div class ="wave wave2 "> </ div >
91
93
< div class ="wave wave3 "> </ div >
Original file line number Diff line number Diff line change @@ -1697,4 +1697,22 @@ input:checked+.slider:before {
1697
1697
1698
1698
.slider .round : before {
1699
1699
border-radius : 50% ;
1700
- }
1700
+ }
1701
+
1702
+ /*Style https://github.com/Mahimatestgithub*/
1703
+ .explore-button {
1704
+ display : inline-block;
1705
+ padding : 10px 20px ;
1706
+ margin-top : 20px ;
1707
+ background-color : # 007BFF ;
1708
+ color : white;
1709
+ text-align : center;
1710
+ text-decoration : none;
1711
+ font-weight : bold;
1712
+ border-radius : 5px ;
1713
+ transition : background-color 0.3s ;
1714
+ }
1715
+
1716
+ .explore-button : hover {
1717
+ background-color : grey;
1718
+ }
Original file line number Diff line number Diff line change
1
+ // Smooth scrolling when clicking the Explore Projects button done by https://github.com/Mahimatestgithub
2
+ document . querySelector ( '.explore-button' ) . addEventListener ( 'click' , function ( e ) {
3
+ e . preventDefault ( ) ;
4
+ const projectsSection = document . getElementById ( 'projects' ) ;
5
+ projectsSection . scrollIntoView ( { behavior : 'smooth' } ) ;
6
+ } ) ;
7
+
8
+
9
+
10
+
1
11
$ ( document ) . ready ( function ( ) {
2
12
3
13
$ ( '.fa-bars' ) . click ( function ( ) {
You can’t perform that action at this time.
0 commit comments