add basic back to top link via affix
This commit is contained in:
parent
e560c41ed1
commit
40f671a531
3 changed files with 61 additions and 12 deletions
|
|
@ -28,6 +28,26 @@ body {
|
|||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Back to top link */
|
||||
.bs-docs-top {
|
||||
float: left;
|
||||
padding: 7px 15px;
|
||||
font-weight: 500;
|
||||
color: #999;
|
||||
background-color: #eee;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.bs-docs-top:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
background-color: #999;
|
||||
}
|
||||
.bs-docs-top.affix {
|
||||
position: fixed;
|
||||
right: 15px;
|
||||
bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Sections
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue