質問編集履歴
1
誤表記の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
background-color: #d10000;
|
18
18
|
position: fixed;
|
19
19
|
bottom: 5rem;
|
20
|
-
right: -
|
20
|
+
right: calc(-300px + -5rem);
|
21
21
|
transform: rotate(0);
|
22
22
|
transition: 1.5s cubic-bezier(0.19, 1, 0.22, 1);
|
23
23
|
}
|
@@ -75,7 +75,7 @@
|
|
75
75
|
});
|
76
76
|
} else {
|
77
77
|
$('.floating').css({
|
78
|
-
'right' : '-
|
78
|
+
'right' : 'calc(-300px + -5rem)' ,
|
79
79
|
'transform' : 'rotate(0)'
|
80
80
|
});
|
81
81
|
}
|
@@ -103,7 +103,7 @@
|
|
103
103
|
|
104
104
|
if ( right == '5rem' || transform == 'rotate(720deg)' ) {
|
105
105
|
$('.floating').css({
|
106
|
-
'right' : '-
|
106
|
+
'right' : 'calc(-300px + -5rem)' ,
|
107
107
|
'transform' : 'rotate(0)'
|
108
108
|
});
|
109
109
|
} else {
|