Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
#CopyCodeButton {
z-index: 0;
opacity: 1;
float: right;
padding: 7px;
color: var(--wds-secondary-button-label-color);
cursor: pointer;
font-weight: bold;
position: relative;
border-radius: 5px;
border: 2px solid;
border-color: var(--wds-secondary-button-label-color);
transition-duration: 0.15s;
}
#CopyCodeButtonHover {
top: 0;
left: 0;
opacity: 0;
z-index: -1;
width: 100%;
height: 100%;
position: absolute;
transition: opacity 200ms linear;
background-image: linear-gradient(to top, rgba(76, 86, 106, 0.3) 0%, transparent 100%);
}
#CopyCodeButton:hover #CopyCodeButtonHover {
opacity: 1;
}
#CopyCodeButton:active {
box-shadow: 0 0 6px;
}
#CopyCodeButton::selection {
background: #BEC4D1;
}