質問編集履歴
2
css追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,6 +72,96 @@
|
|
72
72
|
|
73
73
|
|
74
74
|
|
75
|
+
```css
|
76
|
+
|
77
|
+
.career-arrow {
|
78
|
+
|
79
|
+
margin: 7px 16px;
|
80
|
+
|
81
|
+
width: 18px;
|
82
|
+
|
83
|
+
height: 18px;
|
84
|
+
|
85
|
+
border-style: solid;
|
86
|
+
|
87
|
+
border-width: 0 2px 2px 0;
|
88
|
+
|
89
|
+
border-color: rgba(255,255,255,0.95);
|
90
|
+
|
91
|
+
float: right;
|
92
|
+
|
93
|
+
transform: rotate(45deg);
|
94
|
+
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
@keyframes arrow-up {
|
100
|
+
|
101
|
+
from {
|
102
|
+
|
103
|
+
transform:rotate(45deg);
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
50%{
|
108
|
+
|
109
|
+
transform:rotate3d(1,1,0,90deg);
|
110
|
+
|
111
|
+
}
|
112
|
+
|
113
|
+
to{
|
114
|
+
|
115
|
+
transform:rotate3d(1,-0.43,0,180deg) translateX(-7px) translateY(-7px);
|
116
|
+
|
117
|
+
}
|
118
|
+
|
119
|
+
}
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
.arrow-up {
|
124
|
+
|
125
|
+
animation: arrow-up .8s ease-in-out 0s forwards;
|
126
|
+
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
@keyframes arrow-down {
|
132
|
+
|
133
|
+
from {
|
134
|
+
|
135
|
+
transform:rotate3d(1,-0.43,0,180deg) translateX(-7px) translateY(-7px);
|
136
|
+
|
137
|
+
}
|
138
|
+
|
139
|
+
50%{
|
140
|
+
|
141
|
+
transform:rotate3d(1,1,0,90deg);
|
142
|
+
|
143
|
+
}
|
144
|
+
|
145
|
+
to{
|
146
|
+
|
147
|
+
transform:rotate(45deg);
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
.arrow-down {
|
156
|
+
|
157
|
+
animation: arrow-down .8s ease-in-out 0s forwards;
|
158
|
+
|
159
|
+
}
|
160
|
+
|
161
|
+
```
|
162
|
+
|
163
|
+
|
164
|
+
|
75
165
|
eachで回している点や、クラス指定している点、childrenを使っている点が重さの原因な気がしているのですが、複数項目に対してのコードでよりよい書き方が思い当たりません。
|
76
166
|
|
77
167
|
|
1
html追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,42 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
+
```html
|
40
|
+
|
41
|
+
<li class="career-list_item engineer">
|
42
|
+
|
43
|
+
<div class="career-name first-item">
|
44
|
+
|
45
|
+
<p>項目名</p>
|
46
|
+
|
47
|
+
<div class="career-arrow"></div>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div class="career-detail_container">
|
52
|
+
|
53
|
+
<div class="career-detail">
|
54
|
+
|
55
|
+
<p class="recruit-message">詳細
|
56
|
+
|
57
|
+
</p>
|
58
|
+
|
59
|
+
<table class="recruit-conditions">
|
60
|
+
|
61
|
+
中略
|
62
|
+
|
63
|
+
</table>
|
64
|
+
|
65
|
+
</div>
|
66
|
+
|
67
|
+
</div>
|
68
|
+
|
69
|
+
</li>
|
70
|
+
|
71
|
+
```
|
72
|
+
|
73
|
+
|
74
|
+
|
39
75
|
eachで回している点や、クラス指定している点、childrenを使っている点が重さの原因な気がしているのですが、複数項目に対してのコードでよりよい書き方が思い当たりません。
|
40
76
|
|
41
77
|
|