Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.html #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
85 changes: 42 additions & 43 deletions css/forms.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.login-box{
background: linear-gradient(#141e30, #243b55);
background: black;
border-radius: 10px;
padding: 40px;
box-sizing: border-box;
Expand Down Expand Up @@ -28,9 +28,9 @@
border: none;
border-bottom: 1px solid #fff;
outline: none;
background: transparent;
background: black;
}
.login-box .user-box label {
.login-box .user-box label{
position: absolute;
top:0;
left: 0;
Expand All @@ -42,18 +42,18 @@
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
.login-box .user-box input:valid ~ label{
top: -20px;
left: 0;
color: #03e9f4;
color: #fff;
font-size: 12px;
}

.login-box form a {
position: relative;
display: inline-block;
padding: 10px 20px;
color: #03e9f4;
color: #fff;
font-size: 16px;
text-decoration: none;
text-transform: uppercase;
Expand All @@ -63,8 +63,8 @@
letter-spacing: 4px
}

.login-box a:hover {
background: #03e9f4;
.login-box a:hover{
background: black;
color: #fff;
border-radius: 5px;
box-shadow: 0 0 5px #03e9f4,
Expand All @@ -73,88 +73,87 @@
0 0 100px #03e9f4;
}

.login-box a span {
.login-box a span{
position: absolute;
display: block;
}

.login-box a span:nth-child(1) {
.login-box a span:nth-child(1){
top: 0;
left: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #03e9f4);
background: black;
animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
0% {
@keyframes btn-anim1{
0%{
left: -100%;
}
50%,100% {
50%,100%{
left: 100%;
}
}

.login-box a span:nth-child(2) {
.login-box a span:nth-child(2){
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, #03e9f4);
background: black;
animation: btn-anim2 1s linear infinite;
animation-delay: .25s
}

@keyframes btn-anim2 {
0% {
@keyframes btn-anim2{
0%{
top: -100%;
}
50%,100% {
50%,100%{
top: 100%;
}
}

.login-box a span:nth-child(3) {
.login-box a span:nth-child(3){
bottom: 0;
right: -100%;
width: 100%;
height: 2px;
background: linear-gradient(270deg, transparent, #03e9f4);
background: black;
animation: btn-anim3 1s linear infinite;
animation-delay: .5s
}

@keyframes btn-anim3 {
0% {
@keyframes btn-anim3{
0%{
right: -100%;
}
50%,100% {
50%,100%{
right: 100%;
}
}

.login-box a span:nth-child(4) {
.login-box a span:nth-child(4){
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg, transparent, #03e9f4);
background: black;
animation: btn-anim4 1s linear infinite;
animation-delay: .75s
}

@keyframes btn-anim4 {
0% {
@keyframes btn-anim4{
0%{
bottom: -100%;
}
50%,100% {
50%,100%{
bottom: 100%;
}
}

/*James K Jose */
.form-jkj form {
.form-jkj form{
margin:10% auto 0 auto;
padding:30px;
width:400px;
Expand All @@ -164,19 +163,19 @@
border-radius:10px;
}

.form-jkj label {
.form-jkj label{
font-size:14px;
color:darkgray;
cursor:pointer;
}

.form-jkj label,
.form-jkj form input {
.form-jkj form input{
float:left;
clear:both;
}

.form-jkj input {
.form-jkj input{
margin:15px 0;
padding:15px 10px;
width:100%;
Expand All @@ -195,11 +194,11 @@
}

.form-jkj input[type=text]:focus,
.form-jkj input[type="password"]:focus {
.form-jkj input[type="password"]:focus{
border-color:cornflowerblue;
}

.form-jkj input[type=submit] {
.form-jkj input[type=submit]{
padding:15px 50px;
width:auto;
background:#1abc9c;
Expand All @@ -216,16 +215,16 @@
transition:0.2s ease all;
}

.form-jkj input[type=submit]:hover {
.form-jkj input[type=submit]:hover{
opacity:0.8;
}

.form-jkj input[type="submit"]:active {
.form-jkj input[type="submit"]:active{
opacity:0.4;
}

.forgot,
.register {
.register{
margin:10px;
float:left;
clear:left;
Expand All @@ -235,10 +234,10 @@
}

.forgot:hover,
.register:hover {
.register:hover{
color:darkgray;
}

.jkj {
background-color: #f79533;
}
.jkj{
background: black;
}
Loading