Skip to content

Commit

Permalink
[+] Created new search element class called .input-data
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyOliver committed Mar 7, 2021
1 parent 7e48db3 commit 34cb991
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
15 changes: 13 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,23 @@
<div class="card flat">
<div class="neu inset pill">Kenny</div>
<div class="neu convex shrink circle"><i class="far fa-heart"></i></div>
<div class="neu convex shrink circle"><i class="far fa-share"></i></div>
<div class="neu convex shrink circle"><i class="fas fa-share"></i></div>
</div>
<div class="card flat">
<div class="neu inset pill">GitHub</div>
<div class="neu convex shrink circle"><i class="far fa-heart"></i></div>
<div class="neu convex shrink circle"><i class="far fa-share"></i></div>
<div class="neu convex shrink circle"><i class="fas fa-share"></i></div>
</div>
</div>

<hr>

<div class="chunk">
<div class="group">
<div class="card flat">
<input type="search" class="neu inset input-data" id="card-search" name="search" placeholder="Search...">
<div class="neu convex shrink circle"><i class="fas fa-search"></i></div>
</div>
</div>
</div>

Expand Down
11 changes: 11 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,15 @@ hr {
box-shadow:
0px 0px 20px rgba(255,255,255,0.8),
inset 0px 0px 20px rgba(255,255,255,0.8); /* glowing effect */
}

.input-data {
background: linear-gradient(135deg, rgba(255,255,255,0.1),rgba(255,255,255,0.5));
border-radius: 25px;
border-width: 0px;
height: 50px;
width: 150px;
}
.input-data::placeholder {
color: white;
}

0 comments on commit 34cb991

Please sign in to comment.