LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

Jack Thomson

LN
Whats up dude? Wanna skate?
TK
Damn that donut was good!
MT
Lets go for a walk?
LP
Wanna hit the studio?
CSS
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300);
html, body {
  background: #201e31;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-perspective: 1000px;
          perspective: 1000px;
}

.login {
  margin: 100px auto;
  height: 900px;
}
.login input, .login button {
  background: #494471;
  width: 37%;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  left: 0;
  right: 0;
  padding: 20px;
  border: none;
  outline: none;
  inline: none;
  border-radius: 3px;
  color: #FFF;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
}
.login input[type="password"], .login button[type="password"] {
  margin-top: 90px;
}
.login button {
  margin-top: 200px;
  width: 40%;
  font-size: 15px;
  font-weight: 400;
}

::-webkit-input-placeholder {
  color: #FFF;
  font-weight: 400;
  font-size: 15px;
}

.card {
  background: #5e5791;
  width: 400px;
  height: auto;
  max-height: 400px;
  overflow: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  border-radius: 3px;
  -webkit-animation: zoom .9s;
          animation: zoom .9s;
}

header {
  background: #494471;
  height: 65px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
header h2 {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  color: #FFF;
  font-weight: 300;
}
header .initials {
  background: #524b7e;
  padding: 12px;
  float: right;
  margin-top: 15px;
  margin-right: 25px;
  border-radius: 50%;
  color: #FFF;
  font-weight: 300;
  font-size: 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.chat {
  background: #544d81;
  height: 84px;
  margin: 0 0;
  border-bottom: 1px solid #504a7b;
  -webkit-transition: all ease .7s;
  transition: all ease .7s;
}
.chat:hover {
  background: #5a538b;
  cursor: pointer;
}

.status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 38px;
  margin-left: 355px;
  position: absolute;
}

.message {
  color: #FFF;
  font-size: 12px;
  font-weight: 300;
  margin-top: 33px;
  margin-left: 70px;
  float: left;
  position: absolute;
  width: 200px;
}

.initials {
  background: #494471;
  padding: 12px;
  float: left;
  margin-top: 23px;
  margin-left: 15px;
  border-radius: 50%;
  color: #FFF;
  font-weight: 300;
  font-size: 10px;
  text-transform: uppercase;
}

.chat:last-child {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.online {
  background: #71D081;
}

.busy {
  background: #BF4040;
}

.away {
  background: #C16544;
}

.fa {
  color: #FFF;
  float: right;
  margin: 28px 35px;
  font-size: 18px !important;
}

@-webkit-keyframes zoom {
  0% {
    -webkit-transform: none;
            transform: none;
  }
  50% {
    -webkit-transform: rotateX(50deg) rotateY(20deg) rotateZ(20deg);
            transform: rotateX(50deg) rotateY(20deg) rotateZ(20deg);
  }
  100% {
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes zoom {
  0% {
    -webkit-transform: none;
            transform: none;
  }
  50% {
    -webkit-transform: rotateX(50deg) rotateY(20deg) rotateZ(20deg);
            transform: rotateX(50deg) rotateY(20deg) rotateZ(20deg);
  }
  100% {
    -webkit-transform: none;
            transform: none;
  }
}
JS
var card = $(".card").hide();
var button = $("button");
var login = $(".login");

button.click(function() {
  
  login.hide();
 	card.fadeToggle();
  
});
Host Instantly Drag and Drop Website Builder

 

Description

Just wanted to make a quick UI mockup for a chat application! I'm working on getting it animated and will release that as soon as its done!
Term
Wed, 11/29/2017 - 11:23

Related Codes

Pen ID
Pen ID
Pen ID