質問編集履歴
1
すいませんCSSに古いソース載せていたため新しいものに更新しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
.border #box{
|
52
52
|
|
53
|
-
|
53
|
+
display: inline-block;
|
54
54
|
|
55
55
|
text-align: center;
|
56
56
|
|
@@ -76,6 +76,8 @@
|
|
76
76
|
|
77
77
|
.border #box::before {
|
78
78
|
|
79
|
+
position: absolute;
|
80
|
+
|
79
81
|
content: '';
|
80
82
|
|
81
83
|
width: calc(100% + 8px);
|
@@ -86,23 +88,47 @@
|
|
86
88
|
|
87
89
|
border: 1px solid #000;
|
88
90
|
|
91
|
+
position: absolute;
|
92
|
+
|
93
|
+
top: -1px;
|
94
|
+
|
95
|
+
left: -5px;
|
96
|
+
|
97
|
+
transition: all .3s
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
.border:hover #box {
|
102
|
+
|
103
|
+
text-align: center;
|
104
|
+
|
105
|
+
font-size: 12px;
|
106
|
+
|
107
|
+
width: 175px;
|
108
|
+
|
109
|
+
border-top: 1px solid #000;
|
110
|
+
|
111
|
+
border-bottom: 1px solid #000;
|
112
|
+
|
113
|
+
border-left: 0px;
|
114
|
+
|
115
|
+
border-right: 0px;
|
116
|
+
|
117
|
+
padding: 10px;
|
118
|
+
|
119
|
+
margin: 30px;
|
120
|
+
|
89
121
|
position: relative;
|
90
122
|
|
91
|
-
top: -1px;
|
92
|
-
|
93
|
-
left: -5px;
|
94
|
-
|
95
|
-
transition: all .3s
|
96
|
-
|
97
|
-
}
|
123
|
+
}
|
98
|
-
|
124
|
+
|
99
|
-
.border:hover #box {
|
125
|
+
.border:hover #box::before {
|
100
|
-
|
101
|
-
|
126
|
+
|
102
|
-
|
103
|
-
|
127
|
+
content: '';
|
104
|
-
|
128
|
+
|
105
|
-
|
129
|
+
width: calc(100%);
|
130
|
+
|
131
|
+
height: calc(100% + 4px);
|
106
132
|
|
107
133
|
border-top: 1px solid #000;
|
108
134
|
|
@@ -112,31 +138,7 @@
|
|
112
138
|
|
113
139
|
border-right: 0px;
|
114
140
|
|
115
|
-
padding: 10px;
|
116
|
-
|
117
|
-
margin: 30px;
|
118
|
-
|
119
|
-
position:
|
141
|
+
position: absolute;
|
120
|
-
|
121
|
-
}
|
122
|
-
|
123
|
-
.border:hover #box::before {
|
124
|
-
|
125
|
-
content: '';
|
126
|
-
|
127
|
-
width: calc(100%);
|
128
|
-
|
129
|
-
height: calc(100% + 4px);
|
130
|
-
|
131
|
-
border-top: 1px solid #000;
|
132
|
-
|
133
|
-
border-bottom: 1px solid #000;
|
134
|
-
|
135
|
-
border-left: 0px;
|
136
|
-
|
137
|
-
border-right: 0px;
|
138
|
-
|
139
|
-
position: relative;
|
140
142
|
|
141
143
|
top: -3px;
|
142
144
|
|
@@ -168,7 +170,7 @@
|
|
168
170
|
|
169
171
|
.border #arrow::after {
|
170
172
|
|
171
|
-
position:
|
173
|
+
position:absolute;
|
172
174
|
|
173
175
|
content:"";
|
174
176
|
|
@@ -210,7 +212,7 @@
|
|
210
212
|
|
211
213
|
.border:hover #arrow::after {
|
212
214
|
|
213
|
-
position:
|
215
|
+
position:absolute;
|
214
216
|
|
215
217
|
content:"";
|
216
218
|
|