Line 87: | Line 87: | ||
display: none; /* Hidden by default */ | display: none; /* Hidden by default */ | ||
position: fixed; /* Fixed/sticky position */ | position: fixed; /* Fixed/sticky position */ | ||
− | bottom: | + | bottom: 1.2vw; /* Place the button at the bottom of the page */ |
− | right: | + | right: 1.8vw; /* Place the button 30px from the right */ |
z-index: 99; /* Make sure it does not overlap */ | z-index: 99; /* Make sure it does not overlap */ | ||
border: none; /* Remove borders */ | border: none; /* Remove borders */ | ||
Line 95: | Line 95: | ||
color: white; /* Text color */ | color: white; /* Text color */ | ||
cursor: pointer; /* Add a mouse pointer on hover */ | cursor: pointer; /* Add a mouse pointer on hover */ | ||
− | padding: | + | padding: 2vw; /* Some padding */ |
border-radius: 10px; /* Rounded corners */ | border-radius: 10px; /* Rounded corners */ | ||
} | } |
Revision as of 17:20, 3 October 2017