Skip to content

Commit

Permalink
Merge pull request #136 from Ayushmaanagarwal1211/Search-Bar
Browse files Browse the repository at this point in the history
Search bar
  • Loading branch information
sanjay-kv authored Aug 6, 2024
2 parents 8e0274a + 3577619 commit 89a96b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ <h1 class="main-heading">Awesome GitHub Profile READMEs</h1>
class="search-input"
placeholder="Search Nickname or Username..."
/>
<i class="fas fa-search" style="position: relative;right: 40px;"></i>

</div>
<div class="no-profiles-message"><h2>No profiles found</h2></div>

Expand Down Expand Up @@ -144,4 +146,4 @@ <h5>
<script src="retriveprofile.js"></script>
<script src="dark-mode.js"></script>
</body>
</html>
</html>
11 changes: 8 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,19 @@ body {
margin-bottom: 20px;
}

.search-input {
width: 50%;
.search-input {
width: 259px;
padding: 15px;
font-size: 16px;
border: 2px solid #ddd;
border-radius: 25px;
box-shadow: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
transition: border-color 0.3s ease, box-shadow 0.3s ease,all 0.3s;;
}
.search-input:focus{
width: 50%;
outline: none;
transition: all 0.3s;
}

.search-input:hover,
Expand Down

0 comments on commit 89a96b2

Please sign in to comment.