-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
41 lines (39 loc) · 1.28 KB
/
styles.css
File metadata and controls
41 lines (39 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* https://codepen.io/rcherem/pen/Kxpgdr */
.golden-btn + .golden-btn { margin-top: 1em; }
.golden-btn {
display: inline-block;
outline: none;
font-family: inherit;
font-size: 1em;
box-sizing: border-box;
border: none;
border-radius: .3em;
height: 2.75em;
line-height: 2.5em;
padding: 0 1em;
box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4),
inset 0 -2px 5px 1px rgba(139,66,8,1),
inset 0 -1px 1px 3px rgba(250,227,133,1);
background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
border: 1px solid #a55d07;
color: rgb(120,50,5);
text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
cursor: pointer;
transition: all .2s ease-in-out;
background-size: 100% 100%;
background-position:center;
}
.golden-btn:focus,
.golden-btn:hover {
background-size: 150% 150%;
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23),
inset 0 -2px 5px 1px #b17d10,
inset 0 -1px 1px 3px rgba(250,227,133,1);
border: 1px solid rgba(165,93,7,.6);
color: rgba(120,50,5,.8);
}
.golden-btn:active {
box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4),
inset 0 -2px 5px 1px #b17d10,
inset 0 -1px 1px 3px rgba(250,227,133,1);
}