# copy-the-code/2.2.2/assets/css/page.css

Copy Anything to Clipboard for WordPress – Copy Button, Copy Text &amp; Copy Code, version 2.2.2. 92 lines.

- Page: https://pluginprobe.com/plugins/copy-the-code/2.2.2/code/assets/css/page.css
- Raw: https://pluginprobe.com/plugins/copy-the-code/2.2.2/raw/assets/css/page.css
- Modified: 2020-06-27T15:07:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/copy-the-code/2.2.2/code/assets/css/page.css#L10-L20`.

```css
#preview {
    position: relative;
}

#preview .inner pre {
    border: 2px solid #ccd0d4;
    margin-bottom: 2em;
}

/** <pre> tag */
#preview pre {
    padding: 1em 2em 1em 2em;
    margin: 0;
	position: relative;
}

/** 'Copy' button and JS. */
.copy-the-code-inside-wrap .copy-the-code-button {
    position: absolute;
    right: 0;
    top: 0;
}

.copy-the-code-inside .copy-the-code-button {
	position: absolute;
	right: 0;
	top: 0;
}
.copy-the-code-wrap {
    display: block;
    position: relative;
}

.copy-the-code-button {
    background: #e1e3e8;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: none;
    color: #424242;
    font-size: 14px;
    font-weight: normal;
    border-radius: 0;
    text-transform: capitalize;
    border: none;
    outline: none;
}

.copy-the-code-button:hover {
    background: #d0d1d6;
}

.copy-the-code-outside + * {
    margin-top: 0;
}

.copy-the-code-outside {
    text-align: right;
}

/** Styles */
.copy-the-code-button[style="svg-icon"] {
    background: transparent;
    padding: 0;
    height: 25px;
}
.copy-the-code-button[style="svg-icon"] svg {
    height: auto;
    width: 20px;
    fill: #23282d;
}
.copy-the-code-button[style="cover"] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

pre:hover .copy-the-code-button[style="cover"] {
    opacity: 1;
}

.copy-the-code-inside-wrap .copy-the-code-button[style="svg-icon"] {
    padding: 10px;
}

```
