Skip to content

Commit

Permalink
added prev/next btns
Browse files Browse the repository at this point in the history
  • Loading branch information
SandeepKrSuman committed Mar 30, 2022
1 parent 69450f6 commit ce5276f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ <h1 id="word"></h1>
<p id="phonetic"></p>
<div id="definition"></div>
<p id="example"></p>
<div class="navigate-container">
<span class="navigator previous">&laquo;</span>
<span class="navigator next">&raquo;</span>
</div>
<script src="popup.js" type="text/javascript"></script>
</body>
</html>
25 changes: 25 additions & 0 deletions popup/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,28 @@ div {
font-size: 1rem;
background-color: #9ddac6;
}

.navigate-container {
display: flex;
justify-content: space-between;
text-align: center;
background-color: #ffffff;
}

.navigator {
text-decoration: none;
display: inline-block;
padding: 6px 14px;
}

.navigator:hover {
cursor: pointer;
background-color: #ddd;
color: black;
}

.previous,
.next {
background-color: #f1f1f1;
color: black;
}

0 comments on commit ce5276f

Please sign in to comment.