Skip to content

Commit

Permalink
Added styles as directed (publiclab#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingingcole authored and Rishabh570 committed Apr 24, 2019
1 parent 25e3c55 commit 9879ce5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions examples/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ h1, h2, .section h3 {
text-align: center;
}
#back2Top {
width: 40px;
width: 50px;
line-height: 40px;
overflow: hidden;
z-index: 999;
Expand All @@ -51,14 +51,21 @@ h1, h2, .section h3 {
transform: rotate(270deg);
position: fixed;
bottom: 50px;
right: 0;
right: 10px;
background-color: #DDD;
color: #555;
text-align: center;
font-size: 30px;
text-decoration: none;
border-radius: 1em;
box-shadow: -1.5px 1.5px 1.5px 1.5px lightgrey;
transition: box-shadow 150ms;
}
#back2Top:hover {
background-color: #DDF;
color: #000;
box-shadow: -1px 1px 1px 1px lightgrey;
}
#back2Top:active {
box-shadow: none;
}

0 comments on commit 9879ce5

Please sign in to comment.