Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions css/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,80 @@
/* James K Jose */
.jkj {
background-color: #f79533;
}


/* Muskan */

.muskan {
color: #fff;
background: #111;
cursor: pointer;
position: relative;
z-index: 0;
border-radius: 10px;
}

.muskan:before {
content: "";
background: linear-gradient(
45deg,
#ff0000,
#ff7300,
#fffb00,
#48ff00,
#00ffd5,
#002bff,
#7a00ff,
#ff00c8,
#ff0000
);
position: absolute;
top: -2px;
left: -2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
width: calc(100% + 5px);
height: calc(100% + 5px);
animation: glow 20s linear infinite;
opacity: 0;
transition: opacity 0.3s ease-in-out;
border-radius: 10px;
}

@keyframes glow {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}

.muskan:active {
color: #111;
}

.muskan:active:after {
background: transparent;
}

.muskan:hover:before {
opacity: 1;
}

.muskan:after {
z-index: -1;
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #191919;
left: 0;
top: 0;
border-radius: 10px;
}
4 changes: 4 additions & 0 deletions css/cardcolor.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@
.roncy {
background-color: #a287f4;
}

.muskan {
background-color: #161616;
}
58 changes: 57 additions & 1 deletion css/textfield.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,60 @@
font-size: 14px;
top: -24px;
color: #00dd22;
} /* Tonal Mathew : end */
} /* Tonal Mathew : end */


/* Muskan */
.form-muskan {
margin: 100px;
}

.input-field-muskan {
position: relative;
width: 250px;
height: 44px;
line-height: 44px;
}

.label-muskan {
position: absolute;
top: 0;
left: 0;
cursor: text;
width: 100%;
color: #161616;
transition: 0.2s all;
}

.input-muskan {
width: 100%;
border: 0;
outline: 0;
padding: 0.5rem;
border-bottom: 3px solid #161616;
box-shadow: none;
color: #161616;
}

.input-muskan:invalid {
outline: 0;
}

.input-muskan:required {
color: #00c8d6;
}

.input-muskan:focus,
.input-muskan:valid {
border-color: #00c8d6;
border: 2px solid #00c8d6;
border-radius: 13px;
}

.input-muskan:focus~label,
.input-muskan:valid~label {
font-size: 16px;
top: -33px;
left: 5px;
color: #00c8d6;
}
35 changes: 35 additions & 0 deletions pages/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,41 @@ <h2>
</div>
</div>
</div>

<!-- Muskan -->
<div class="row">
<div class="col-lg-6">
<div class="component">
<div class="card magictime">
<div class="card-title muskan">
<strong>Button</strong>
</div>
<div class="card-content">
<button class="button muskan"><span>Hover</span></button>
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="component">
<div class="card magictime">
<div class="card-title muskan">
<strong>Creator</strong>
</div>
<div class="card-content">
<div class="creater-name">
<h2>
<b>Name:</b><span>
<a href="https://github.com/muskan-9">Muskan</a>
</span>
</h2>
</div>
</div>
</div>
</div>
</div>
</div>

</div>
</section>
<footer>
Expand Down
39 changes: 39 additions & 0 deletions pages/textfield.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,45 @@ <h2>
</div>
</div>

<!-- Muskan -->
<div class="row">
<div class="col-lg-6">
<div class="component">
<div class="card magictime">
<div class="card-title muskan">
<strong>Textfield</strong>
</div>
<div class="card-content">
<form class="form-muskan" action="">
<div class="input-field-muskan">
<input class="input-muskan" type="text" id="name" required />
<label class="label-muskan" for="name">Name</label>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="component">
<div class="card magictime">
<div class="card-title muskan">
<strong>Creator</strong>
</div>
<div class="card-content">
<div class="creater-name">
<h2>
<b>Name:</b>
<span>
<a href="https://github.com/muskan-9">Muskan</a>
</span>
</h2>
</div>
</div>
</div>
</div>
</div>
</div>


</div>
Expand Down