Программирование на Python и Objective-C в Mac OS

Программирование на Python и Objective-C под Mac OS и для iPhone / iPod Touch

Html стиль кнопки: Buttons Основные стили кнопок CSS уроки для начинающих академия

Содержание

Стиль кнопки загрузки

1
<button data-style="rotate-angle-bottom" data-perspective data-horizontal>Кнопка</button>

1
2
3
4
5
6
7
8
<button data-style="rotate-angle-bottom" data-perspective data-horizontal>
    <span>
        <span>Кнопка</span>
        <span>
            <span></span>
        </span>
    </span>
</button>

1
2
3
4
5
6
<button data-style="fill" data-horizontal>
    <span>Кнопка</span>
    <span>
        <span></span>
    </span>
</button>

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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.progress-button {
    position: relative;
    display: inline-block;
    padding: 0 60px;
    outline: none;
    border: none;
    background: #1d9650;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1em;
    line-height: 4;
}
 
.progress-button[disabled],
.progress-button[disabled].state-loading {
    cursor: default;
}
 
. progress-button .content {
    position: relative;
    display: block;
}
 
.progress-button .content::before,
.progress-button .content::after  {
    position: absolute;
    right: 20px;
    color: #0e7138;
    font-family: "icomoon";
    opacity: 0;
    transition: opacity 0.3s 0.3s;
}
 
.progress-button .content::before {
    content: "\e600"; /* Иконка в виде птички об успешной загрузке */
}
 
.progress-button .content::after {
    content: "\e601"; /* Иконка ошибки */
}
 
.progress-button.state-success .content::before,
.progress-button.state-error .content::after {
    opacity: 1;
}
 
.notransition {
    transition: none !important;
}
 
.progress-button .progress {
    background: #148544;
}
 
.progress-button .progress-inner {
    position: absolute;
    left: 0;
    background: #0e7138;
}
 
.progress-button[data-horizontal] .progress-inner {
    top: 0;
    width: 0;
    height: 100%;
    transition: width 0.3s, opacity 0.3s;
}
 
.progress-button[data-vertical] .progress-inner {
    bottom: 0;
    width: 100%;
    height: 0;
    transition: height 0.3s, opacity 0.3s;
}
 
/* Необходимые стили для кнопок с 3D перспективой */
 
.progress-button[data-perspective] {
    position: relative;
    display: inline-block;
    padding: 0;
    background: transparent;
    perspective: 900px;
}
 
.progress-button[data-perspective] .content {
    padding: 0 60px;
    background: #1d9650;
}
 
.progress-button[data-perspective] .progress-wrap {
    display: block;
    transition: transform 0.2s;
    transform-style: preserve-3d;
}
 
.progress-button[data-perspective] .content,
.progress-button[data-perspective] .progress {
    outline: 1px solid rgba(0,0,0,0);
}