質問編集履歴

2

cssのソースの追加

2019/03/12 04:08

投稿

ShoSakata
ShoSakata

スコア20

test CHANGED
File without changes
test CHANGED
@@ -61,3 +61,119 @@
61
61
  });
62
62
 
63
63
  ```
64
+
65
+
66
+
67
+ ```css
68
+
69
+ .checkboxTab {
70
+
71
+ max-width: 900px;
72
+
73
+ font-size: 0;
74
+
75
+ letter-spacing: 0;
76
+
77
+ overflow: hidden;
78
+
79
+ }
80
+
81
+ .checkboxTab ul {
82
+
83
+ margin-left: -4px;
84
+
85
+ padding-inline-start: 0px;
86
+
87
+ }
88
+
89
+ .checkboxTab ul li {
90
+
91
+ float: left;
92
+
93
+ width: 136px;
94
+
95
+ height: 45px;
96
+
97
+ margin: 0 4px 8px;
98
+
99
+ display: table;
100
+
101
+ }
102
+
103
+
104
+
105
+ .checkboxTab input {
106
+
107
+ display: none;
108
+
109
+ -webkit-appearance: inherit;
110
+
111
+ border: none;
112
+
113
+ position: absolute;
114
+
115
+ z-index: 2;
116
+
117
+ top: 0;
118
+
119
+ left: 0;
120
+
121
+ background-color: #000;
122
+
123
+ position: relative;
124
+
125
+ width: 100%;
126
+
127
+ height: 100%;
128
+
129
+ }
130
+
131
+
132
+
133
+ .checkboxTab input:checked + label { background-color: #000; color: #fff;}
134
+
135
+
136
+
137
+ .checkboxTab label {
138
+
139
+ display: table-cell;
140
+
141
+ vertical-align: middle;
142
+
143
+ font-size: 1.55rem;
144
+
145
+ font-weight: 500;
146
+
147
+ background-color: #e5e5e5;
148
+
149
+ text-align: center;
150
+
151
+ border-radius: 3px;
152
+
153
+ color: inherit;
154
+
155
+ line-height: 1;
156
+
157
+ cursor: pointer;
158
+
159
+ transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
160
+
161
+ }
162
+
163
+ .checkboxTab label[for="consistency"] {
164
+
165
+ font-size: 1.3rem;
166
+
167
+ }
168
+
169
+ .checkboxTab label:hover {
170
+
171
+ background-color: #000;
172
+
173
+ color: #fff;
174
+
175
+ }
176
+
177
+ .checkboxTab .mini { font-size: 1.2rem; }
178
+
179
+ ```

1

タグ(css)の追加

2019/03/12 04:08

投稿

ShoSakata
ShoSakata

スコア20

test CHANGED
File without changes
test CHANGED
File without changes