

En iShop avanzamos tan rápido como lo hace la tecnología
#botup{
position: fixed;
display: none;
top: 0px;
left: 100px;
font-size: 3rem;
width: 3rem;
height: 3rem;
border-radius: 50%;
line-height: 1;
text-align: center;
background-color:orange
}
window.addEventListener("scroll", upbuton, true);
function upbuton() {
var bot = document.getElementById('botup');
if (window.pageYOffset > 10) {
var botStyle = parseInt(window.getComputedStyle(bot);
var offset = bot.Style.getPropertyValue('font-size')) * 2 + 10;
bot.style.top = document.documentElement.clientHeight - offset + "px";
bot.style.left = document.documentElement.clientWidth - offset + "px";
bot.style.display = "block";
} else
bot.style.display = "none";
}