LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

Slide-Out Buttons




CSS
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:700|Oswald:400:700);
body {
  background: url(http://www.ambrosiasw.com/assets/images/graphics_products/ipadwallpaper/wallpaper/Felt-Green.jpg);
}

h1 {
  font-size: 60px;
  font-family: 'Josefin Sans';
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.sleeve {
  position: relative;
  background: transparent;
  line-height: 2.5em;
  border: 0;
  padding: 0 40px 0 15px;
  border: 1px solid #aaa;
  border-radius: 4px 200px 0px 4px;
  background: linear-gradient(to bottom, #e1e1e1 0%, #e5e5e5 100%);
  font-family: 'Oswald';
  text-transform: uppercase;
  font-size: 34px;
  color: #333;
  text-shadow: 0px 1px 3px #fff;
  margin-right: 120px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  min-width: 170px;
}

.insert {
  position: absolute;
  left: 10px;
  top: 3%;
  display: block;
  z-index: -100;
  width: 100%;
  height: 94%;
  box-sizing: border-box;
  background: linear-gradient(to bottom, #a90329 0%, #8f0222 44%, #6d0019 100%);
  font-family: 'Oswald';
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 0px rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  text-align: right;
  padding-right: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 2px 2px 5px rgba(0, 0, 0, 0.5);
  transition: all 1s ease-in-out;
  border-right: 1px dotted rgba(0, 0, 0, 0.5);
}

.sleeve:hover .insert {
  text-align: right;
  width: 150%;
  transition: all 1s ease-in-out;
}

.insert.facebook {
  background: linear-gradient(to bottom, #497dc1 0%, #274772 100%);
}

.insert.twitter {
  background: linear-gradient(to bottom, #a9e4f7 0%, #0fb4e7 100%);
}

.insert.google {
  background: linear-gradient(to bottom, #ff3019 0%, #cf0404 100%);
}
Host Instantly Drag and Drop Website Builder

 

Description

These buttons look like cards that slide out of a sleeve. Useful for teasing a user or for any info that needs to remain hidden until the user chooses.
Term
Mon, 11/27/2017 - 21:36

Related Codes

Pen ID
Pen ID
Pen ID