back_to_top.css in Back To Top 7
Same filename and directory in other branches
#backtotop {
background: url(../backtotop.png) no-repeat center center;
border: 0;
bottom: 20px;
cursor: pointer;
display: none;
height: 70px;
position: fixed;
right: 20px;
text-indent: -9999px;
width: 70px;
z-index: 1;
}
#backtotop:hover {
opacity: 0.8;
}
#backtotop:focus {
opacity: 0.6;
outline: none;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
#backtotop {
background: url(../backtotop2x.png) no-repeat center center;
background-size: 70px 70px;
}
}
@media print {
#backtotop {
visibility: hidden;
}
}
File
css/back_to_top.cssView source
- #backtotop {
- background: url(../backtotop.png) no-repeat center center;
- border: 0;
- bottom: 20px;
- cursor: pointer;
- display: none;
- height: 70px;
- position: fixed;
- right: 20px;
- text-indent: -9999px;
- width: 70px;
- z-index: 1;
- }
-
- #backtotop:hover {
- opacity: 0.8;
- }
-
- #backtotop:focus {
- opacity: 0.6;
- outline: none;
- }
-
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
- #backtotop {
- background: url(../backtotop2x.png) no-repeat center center;
- background-size: 70px 70px;
- }
- }
-
- @media print {
- #backtotop {
- visibility: hidden;
- }
- }