Back to top button

add back to top button to your blog

by Hm Ba

HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
<body>
<div id='content'>
<div class="ui buttons"> <div class="ui button" href='http://www.ar1web.com/2015/01/simple-button-v5.html'>عودة لتدوينة</div> <div class="or"></div> <div class="ui positive button">مشاهدة الحلقة</div> </div></div>
</body>

CSS

body {
background: url('http://4.bp.blogspot.com/--qIh9Ej8lYk/VCvcPE3qrVI/AAAAAAAAGLs/6PlO-5b5hrk/s1600/bg_head.jpg') repeat-x top center;
min-height: 500px;
margin: 0 auto;
padding: 4px;
color: #333;
}
html {
background-color: #0b1318;
}
div#content {
text-align: center;
    margin: 50px;
}

/* CSS Simple Butn Ar1web */
.ui.button {
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  min-height: 1em;
  outline: none;
  border: none;
  background-color: #FAFAFA;
  color: #808080;
  margin: 0em;
  padding: 0.8em 1.5em;
  font-family: Electrolize,ge_dinar_tworegular;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 0.25em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.ui.buttons .active.button,
.ui.active.button {
  background-color: #EAEAEA;
  background-image: none;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
  color: rgba(0, 0, 0, 0.7);
}
.ui.button:not(.loading):hover {
  background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
  color: rgba(0, 0, 0, 0.7);
}

.ui.button.active:hover {
  background-image: none;
}

.ui.button:hover .icon,
.ui.button.hover .icon {
  opacity: 0.85;
}

.ui.button:not(.loading):active,
.ui.active.button:not(.loading):active {
  background-color: #F1F1F1;
  color: rgba(0, 0, 0, 0.7);
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset...