<button class="scanfcode">Read More</button>
<button class="scanfcode2">
  Like us </button>
@import url(https://fonts.googleapis.com/css?family=BenchNine:700);
.scanfcode
{
  background-color:#ff5050;
  padding:10px;
  border:0px;
  color:#fff;
  font-family: 'BenchNine', Arial, sans-serif;
  font-size:20px;
  margin:10px 40px;
  position:relative;
  text-transform:uppercase;
}
.scanfcode:before,
.scanfcode:after {
  border-color: #ff5050;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  border-style: solid;
  border-width: 0;
  content:"";
  height: 24px;
  position: absolute;
  width: 24px;
}
.scanfcode:before {
  border-left-width: 2px;
  border-top-width: 2px;
  left: -5px;
  top: -5px;
}

.scanfcode:after {
  border-bottom-width: 2px;
  border-right-width: 2px;
  bottom: -5px;
  right: -5px;
}
.scanfcode:hover:before,
.scanfcode:hover:after
{
  height:100%;
  width:100%;
}

/* scanfcode2 */
.scanfcode2
{
  background-color:transparent;
  border:0px;
  padding:10px 20px;
  color:#003399;
  position:relative;
  font-family: 'BenchNine', Arial, sans-serif;
  font-size:26px;
  margin:10px 40px;
  position:relative;
  text-transform:uppercase;
  
}
.scanfcode2:before,
.scanfcode2:after
{
  position:absolute;
  border-color: #333;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  border-style: solid;
  border-width: 0;
  content:"";
  height: 40px;
  position: absolute;
  width: 40px;
}
.scanfcode2:before
{
  border-left-width:2px;
  left:-6px;
  top:6px;
}
.scanfcode2:after
{
  border-right-width:2px;
  right:-6px;
  top:6px;
}
.scanfcode2:hover:before,
.scanfcode2:hover:after
{
  border-top-width:2px;
  border-left-width:0px;
  border-bottom-width:2px;
  border-right-width:0;
  border-color:#003399;
  top:-3px;
  bottom:-3px;
  width:100%;
  height:100%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.