pagination buttons, tracking site, new functions · Sanujkumar/30DaysOfJavaScript@594fe28 · GitHub
Skip to content

Commit 594fe28

Browse files
committed
pagination buttons, tracking site, new functions
1 parent ad828c7 commit 594fe28

3 files changed

Lines changed: 109 additions & 15 deletions

File tree

‎30DaysOfJavaScript/script.js‎

Lines changed: 76 additions & 14 deletions

‎30DaysOfJavaScript/style.css‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ header {
417417
display: block;
418418
margin: 0 auto;
419419
}
420-
}
420+
421421

422422
@media only screen and (max-width: 320px) {
423423
h1 {
@@ -581,3 +581,22 @@ header {
581581
}
582582
}
583583

584+
.pagination button:not(:first-child):not(:last-child) {
585+
width: 40px;
586+
}
587+
.pagination button:first-child,
588+
.pagination button:last-child {
589+
height: 30px;
590+
width: 100px;
591+
}
592+
.pagination > button:hover {
593+
background-color: rgb(83, 99, 83);
594+
}
595+
.pagination > button{
596+
border-radius: 10px;
597+
}
598+
.pagination button.active {
599+
background-color: green;
600+
color: white;
601+
}
602+

‎index.html‎

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)