LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
Followers
31
Following
11
Likes
60
...
CSS
* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.wrapper {
  background: #e9e9e9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
}

.application {
  box-shadow: 0px 10px 50px -4px rgba(0, 0, 0, 0.58);
  border-radius: 2px;
  background: #cccccc;
  width: 405px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
}
.application .header {
  z-index: 3;
  height: 251px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #fff;
}
.application .header .user {
  margin-top: 16px;
  height: 164px;
  z-index: 30;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}
.application .header .user .ava {
  border: 3px solid #ff7141;
  background: url("http://colorlisa.com/pictures/189_1.jpg") center center/cover no-repeat;
  width: 118px;
  height: 118px;
  border-radius: 50%;
}
.application .header .user .nickname {
  color: #38190c;
  font-size: 32px;
  font-weight: 400;
}
.application .header .button {
  margin-top: 12px;
  background: #fff;
  border: 1px solid #ff7141;
  border-radius: 4px;
  padding: 9px 16px;
  z-index: 30;
  width: 109px;
}
.application .header .button .label {
  color: #ff7141;
  font-weight: 400;
  font-size: 14px;
  text-align: center;
}
.application .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}
.application .content .tabs {
  width: 100%;
  height: 83px;
  background: #ff7141;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.application .content .tabs .tab {
  font-size: 22px;
  text-align: center;
  color: #fff;
  width: 33%;
  cursor: pointer;
}
.application .content .tabs .tab:nth-child(2) {
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}
.application .content .tabs .tab .label {
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 600;
}
.application .content .tabs .tab .count {
  font-size: 32px;
}
.application .content .friends {
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  padding: 16px;
  width: 100%;
}
.application .content .friends .friend {
  margin: 0 8px;
  width: 56px;
  height: 56px;
  background: #e9e9e9;
  border-radius: 50%;
  cursor: pointer;
}
.application .content .friends .friend.more {
  font-size: 32px;
  text-align: center;
}
.application .content .friends .friend:nth-child(1) {
  background: url("http://www.gratisography.com/pictures/393_1.jpg") center center/cover no-repeat;
}
.application .content .friends .friend:nth-child(2) {
  background: url("http://www.gratisography.com/pictures/389_1.jpg") center center/cover no-repeat;
}
.application .content .friends .friend:nth-child(3) {
  background: url("http://www.gratisography.com/pictures/384_1.jpg") center center/cover no-repeat;
}
.application .content .friends .friend:nth-child(4) {
  background: url("http://www.gratisography.com/pictures/376_1.jpg") center center/cover no-repeat;
}

@media all and (max-height: 450px) {
  .application {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 80vh;
  }
  .application .header {
    height: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .application .content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    height: 100%;
  }
  .application .content .tabs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: auto;
    height: 100%;
    width: 100%;
    padding: 0 8px;
  }
  .application .content .tabs .tab {
    width: 100%;
    padding: 4px;
  }
  .application .content .tabs .tab:nth-child(2) {
    border-right: none;
    border-left: none;
  }
  .application .content .friends {
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .application .content .friends .friend {
    width: 40px;
    height: 40px;
    margin: 8px 0;
  }
}
@media all and (max-width: 430px) {
  .application {
    width: 100%;
  }
}
JS
//
//
//
// (・∀・)ノ
//
//
//
Term
Mon, 11/27/2017 - 21:23

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv